Python Dictionary

Published: 23 January 2021
on channel: ARASHOO
116
7

Python Dictionary

📙 Table of Contents 📙
====================================
00:00 - Intro
00:16 - Initialization
00:30 - Keys & Values
02:28 - Immutability Requirement for Keys
03:27 - Dictionary Methods: Get
04:33 - Dictionary Methods: Set Default
05:05 - Dictionary Methods: Del, Pop
06:42 - Dictionary Methods: Update
07:19 - Dictionary Methods: Copy, Clear
10:13 - Looping Techniques
13:09 - Dictionary Comprehension
13:58 - Nested Dictionaries
🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁

-------------------------------------------------------------------------------------------------------------------
Question:
Create a function that takes in a string and returns a dictionary with each character count. Don't use the built-in Python Counter.

Ex:
input: "banana"
output:
{
b: 1,
a: 3,
n: 2
}
-------------------------------------------------------------------------------------------------------------------

Creator: Arash Rowshan
📱Twitter:   / oso_arash  
📷Instagram:   / arash_rowshan  


#Python #DataStructures


On this page of the site you can watch the video online Python Dictionary with a duration of hours minute second in good quality, which was uploaded by the user ARASHOO 23 January 2021, share the link with friends and acquaintances, this video has already been watched 116 times on youtube and it was liked by 7 viewers. Enjoy your viewing!