26th Jan 2018, 7:51 PM
Raphael Shay
Raphael Shay - avatar
2 Antworten
0
You need to convert your input to int like this x=int(input()) Standard input() gives you a string so you need to convert it first if you want to use it as an integer
26th Jan 2018, 8:49 PM
Jente
+ 1
You need to parse the x variable to integer if int(x) == y:
26th Jan 2018, 8:51 PM
Toni Isotalo
Toni Isotalo - avatar