Skip to content

Instantly share code, notes, and snippets.

@hjr265
Last active January 17, 2019 15:10
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 hjr265/93493221cfb4ba9c19630a256208488b to your computer and use it in GitHub Desktop.
Save hjr265/93493221cfb4ba9c19630a256208488b to your computer and use it in GitHub Desktop.
A = [3, 7, 5, 9, 1]
for x in A:
print(x)
b = int(input())
if x + b != 10:
break
else:
print('OK')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment