python dict
>>> d = {}
>>> d
{}
>>> d = {'dict': 1, 'dictionary': 2}
>>> d
{'dict': 1, 'dictionary': 2}
python dict
>>> d = {}
>>> d
{}
>>> d = {'dict': 1, 'dictionary': 2}
>>> d
{'dict': 1, 'dictionary': 2}
python dict
# A dict (dictionary) is a data type that store keys/values
myDict = {"name" : "bob", "language" : "python"}
print(myDict["name"])
# Dictionaries can also be multi-line
otherDict {
"name" : "bob",
"phone" : "999-999-999-9999"
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us