DICTIONARIES in Python - Start Here!

preview_player
Показать описание
II'll show you how to create, access, and manipulate dictionaries like a pro in Python.
- Create a dictionary by enclosing a comma-separated list of key-value pairs in curly braces and assign it to a variable.
- See how to add and remove items from a dictionary, check whether a particular key exists, use dictionaries as switches in conditional statements, and use them as a counter.
- Learn how to nest dictionaries and use them to calculate the total cost of items in a shopping cart.
- Find out how dictionaries can be used as sets
Рекомендации по теме
Комментарии
Автор

can we see more of Oliver I like that kid

jigglypuffgamer
Автор

Did you guys run out of things to compare?

chickenfried
Автор

Why was the python dictionary sad?

Because it was empty and had no keys!

markbylok