Dictionary

Run Settings
LanguagePython
Language Version
Run Command
person = { 'name': 'john', 'age':[32, 33,34], 'gender': 'male', True:10, 0:9, 1:9, 5:1, } print(person[0]) print(person[True]) print(id(person['name']),id(person)) x='age' print(person['age'][0]) print(person[x]) person=dict([('name','john')]) print(person)
Editor Settings
Theme
Key bindings
Full width
Lines