Seems simple, yet elusive, want to build a dict from input of [key,value] pairs separated by a space using just one Python statement. This is what I have so far:
for i in range(n): data = input().split(' ') d[data[0]] = data[1] for keys,values in d.items(): print(keys) print(values)