Input Defaults to a ____

So if we ask a user to enter a number - the comptuer store that value as a STRING - and we cannot do math with Strings.

So how can we tell the computer that we want the value to be an integer?

number = input("Enter a Number Greater than 0: ")
print(number + number)

number = int(number)
print(number = number)

Last updated