Skip to content

Instantly share code, notes, and snippets.

@repen
Last active September 15, 2019 21:39
Show Gist options
  • Save repen/1cd8aa1fbbfee0668867483b63b84e7b to your computer and use it in GitHub Desktop.
Save repen/1cd8aa1fbbfee0668867483b63b84e7b to your computer and use it in GitHub Desktop.
Random game
answer,f = int([x for x in str(id('ajshduyuu'))[:-3] if x != "0"][-1]), lambda x: (False, print('Many')) if (x > answer) else ((False, print('Little')) if x < answer else (True, print('Good Job')))
while not f(int(input("Please enter number 1-10: ")))[0]:pass
# print(int([x for x in str(id('ajshduyuu'))[:-3] if x != "0"][-1]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment