0
What should i do?
4 ответов
+ 1
The symbol for multiplication is '*' and not 'x'. Also, S and s are different variables so you need to change S to s and K to k at the start of your code.
Also, input() returns a string so, to change to a number you need to use int() if you want a whole number, or float if you are using decimals e.g. A = int(input())
+ 1
Also, you need to convert the input into integer.
int(input()) or you will get error : Str and Int ...
+ 1
thank guys
0
Ok, thanks
But then?