# dictionary is used to store data values in key:value pairs # aftrer 3.7 version-> ordered , mutable, do not allow duplicate keys # key only be immutable dat type. # student={ # "name":"ved", # "subject":["python","java","c"], # "chapter":(1,2,3,4,5), # "roll_no":98, # "gender":"male", # "percentage":91.87, # 1:520 # } # print(student) # print(type(student)) # access value through key-> if key is not present and we want to access then error # print(student["name"]) # print(student[1]) # change value -> # student["name"]="sam" # print(student["name"]) # add another key value-> # student["surname"]="varshney" # print(student) # empty dictionary-> # null_dict={} # print(type(null_dict)) # null_dict["name"]="ved" # print(null_dict) # nested dictionary # stu...