y strings instead of ints in the below code? Everything on the web says to use
raw_input(), but I read on Stack Overflow (on a thread that did not deal with integer input) that
raw_input() was renamed to
input() in Python 3.x.
play = True while play: x = input("Enter a number: ") y = input("Enter a number: ") print(x + y) print(x - y) print(x * y) print(x / y) print(x % y) if input("Play again? ") == "no": play = False