Computer Science, asked by jasmine8094, 2 months ago

Input statement dose not work for string variable.​

Answers

Answered by advanjalird
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