+ 1

Dictionary

How to create a dictionary in python

14th Nov 2025, 9:01 PM
Michael Odu
Michael Odu - avatar
1 Answer
0
Keep learning Introduction to Python. You can create a dictionary as: my_dict = { "key1" : "value1", "key2" : "value2", ... }
15th Nov 2025, 3:29 AM
ᴜɴᴋɴᴏᴡɴ ᴅᴇᴄᴏᴅᴇʀ
ᴜɴᴋɴᴏᴡɴ ᴅᴇᴄᴏᴅᴇʀ - avatar