Dictionary_Data_Types

Run Settings
LanguagePython
Language Version
Run Command
#Dictionary is an unordered key value pair, it is a data type and unstructer data types dict = { 'a': 1, 'b': 2, 'x': True } print(dict['a']) print(dict) dict = { 'c': [1,2,3,4], 'd': 'hello', 'e': False } print(dict['c'][2]) my_list = [ { 'a': [1,2,3], 'b': 'mello', 'x': True }, { 'c': [4,5,6], 'd': 'hello', 'e': False } ] print(my_list[0]['a'][2])
Editor Settings
Theme
Key bindings
Full width
Lines