keys in the dictionary can be printed using the keys() function.
---------------------------
name = {1:"TalentEve",2:"Embeddeddesignblog",3:"YouTube-Way2Know",4:"Myvision-thisworld",5:"TalentEve"}
print(name.keys())
Output of the above code shall be
dict_keys([1, 2, 3, 4, 5])
0 Comments