pass multiple inputs to python dictionary with or condition 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])