Dictionary Practice Question


 dict={}

a= input("Enter your favoriat language Shubham:\n")
b= input("Enter your favoriat language kartik:\n")
c= input("Enter your favoriat language raghav:\n")
dict['Shubham'] = a
dict['Kartik'] = b
dict['raghav'] = c

print(dict)

Comments

Popular posts from this blog

React Installation with Vite and Tailwind css (Steps to Installation)

Insert Data In mongoDb

Class methods as an alternative Constructor