Input statement dose not work for string variable.
Answers
Answered by
2
Explanation:
The input() function returns a string, not a number (e. g. "127", not 127). You have to convert it to a number, e. g. with the help of int() function.
Similar questions