More Learnings

 Learnings

# list1 = [["Harry",1],["Larry", 2],["Carry",6],["Marie",250]]
# dict1 = dict(list1)
# for item in dict1:
# print(item)
# print(dict1)
# for item, lollypop in dict1.items():
# print(item, "and lolly is",lollypop)

Comments

Popular posts from this blog

Sets in Python

My Learnings