You are viewing a single comment's thread. Return to all comments →
No idea what is wrong in this!!!
i=input() _dict={} for j in range(int(i)): s=input() l=s.split(' ') val={str(l[0]):str(l[1])} _dict.update(val) for j in range(int(i)): s=input() val=_dict.get(s,"Not Found") if val=="Not Found": print(val) else: print(s+'='+val)
Seems like cookies are disabled on this browser, please enable them to open this website
Day 8: Dictionaries and Maps
You are viewing a single comment's thread. Return to all comments →
No idea what is wrong in this!!!