Computer Science, asked by rohitsingh1818, 17 hours ago

write a Python program to create a dictionary and display its key and values separately​

Answers

Answered by sorathiya
1

ini_dict = {'a' : 'akshat', 'b' : 'bhuvan', 'c': 'chandan'}

print("intial_dictionary", str(ini_dict))

keys = ini_dict.keys()

values = ini_dict.values()

print ("keys : ", str(keys))

print ("values : ", str(values))

Similar questions