python convert a string to a integer for multiplication
This question already has an answer here:
Wrap your input
in either int
or float
number=int(input("Enter a number to multiply by 9 "))
or
number=float(input("Enter a number to multiply by 9 "))
This is done because input
accepts strings and you have to convert these to numerals.