Skip to content

Instantly share code, notes, and snippets.

@brockthebear
Created April 27, 2017 19:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brockthebear/64ee6896b7bd2faa0c3dd93b3d368a89 to your computer and use it in GitHub Desktop.
Save brockthebear/64ee6896b7bd2faa0c3dd93b3d368a89 to your computer and use it in GitHub Desktop.
n = int(input())
book = dict(input().split() for _ in range(n))
while(1):
try:
person = input()
if person in book:
print('%s=%s' % (person, book[person]))
else:
print('Not found')
except:
break
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment