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:
n=int(input()) pair = dict() for i in range(0,n): word = input().split() key = word[0] value = word[1] pair[key]=value print(pair)