Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #function to define user input number
- def num_selection():
- x = input("Pick a number between 1 and 10: ")
- return x
- #Run number selection
- num_selection()
- print(x)
- print(num_selection())
- num_selection()
- x = num_selection()
- print(x)
- print(num_selection())
Add Comment
Please, Sign In to add comment