0
Do I need nums before input if I'm using math for example X=input() Print(x+2) Or is this right?
4 ответов
+ 7
Yes you need (also be careful of case-sensitivity of vars) because if input is string x + 2 will do concatenation
+ 2
to input numbers
x=int(input())
you must put int or float before input() or convert the input after
+ 1
Thank you it automatically does caps
+ 1
Thank you very much