Answers for "what dictionary in python"

5

dictionary in python

dict = {"apple": "fruit", "ball": "object", "cricket": "sports"}

#how to print?

print(dict["cricket"])
Posted by: Guest on January-11-2022

Code answers related to "what dictionary in python"

Python Answers by Framework

Browse Popular Code Answers by Language