9951 explained code solutions for 126 technologies


pythonHow to create dictionary


dict = {1: 'First', 2: 'Second'}ctrl + c
dict

example variable to store dictionary

1: 'First'

first key and value of the new dictionary

2: 'Second'

second key and value of the new dictionary