how to accept values and make a dictionary in python code example
Example: how to take input for dictionary in python
for i in range(3):
data = input().split(' ')
d[data[0]] = int(data[1])
for i in range(3):
data = input().split(' ')
d[data[0]] = int(data[1])