Advertisement
Guest User

Untitled

a guest
Apr 25th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. x = 1
  2. y = 0
  3. option = input(print("Pick an option: "))
  4. if option == 1:
  5. while x < 10:
  6. x += 2
  7. print (x)
  8. elif option == 2:
  9. while y < 10:
  10. y +=2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement