Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = 1
- y = 0
- option = input(print("Pick an option: "))
- if option == 1:
- while x < 10:
- x += 2
- print (x)
- elif option == 2:
- while y < 10:
- y +=2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement