Feb-11-2017, 09:04 AM
(This post was last modified: Feb-11-2017, 09:04 AM by tannishpage.)
(Feb-11-2017, 12:12 AM)ichabod801 Wrote: If you run this in Python 3.x, you will always get that error. In Python 3.x, input returns a string.
Ya so according to ichabod801 if you are using python 3.x you might what to do something like this
x = int(input("Something"))Here x will be an int. Because you are testing for an int you code will probably work