python dictionary practice-1

dic={"apple":"aple","orange":"komla","mango":"am",

"banana":"kola"}

#a=input("give the word ")

#print(f"the meaning of {a} is {dic.get(a)}")

# c=dic.copy()

# print(c)

# dic.update({"guava":"peara"})

# print(dic)

# dic.pop("orange")

# print(dic)

print(dic.keys())

print(dic.items())

print(dic.valu)

Comments

Post a Comment

Popular posts from this blog

D WEB LINK