0
How to make a dictonary programme
2 Antworten
+ 5
dicts = {}
keys = range(4)
values = ["Hi", "I", "am", "Gawen"]
for i in keys:
dicts[i] = values[i]
print(dicts)
you can build dictionary like this
for more information refer this link
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2450/?ref=app
https://www.sololearn.com/learn/Python/2451/?ref=app
0
Here I have made dictionary kind of structure using hashtag technique.
https://code.sololearn.com/c9BW2ERJy5VZ/?ref=app