22nd Nov 2019, 12:00 PM
Hohenhaim
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())
22nd Nov 2019, 12:05 PM
Russ
Russ - avatar
+ 1
Also, you need to convert the input into integer. int(input()) or you will get error : Str and Int ...
22nd Nov 2019, 12:08 PM
★«D.Connect_Zone»
★«D.Connect_Zone» - avatar
+ 1
thank guys
22nd Nov 2019, 12:11 PM
Hohenhaim
0
Ok, thanks But then?
22nd Nov 2019, 12:08 PM
Hohenhaim