0
Error
Whats wrong with below code. It does not run. x = input () y = 10 print(x == y)
4 Antworten
+ 7
input() returns a string so you should convert it to integer using int() function
+ 6
You should separate multiple inputs using enter button like this:
1st
2nd
https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
0
It run for me, did you see any error ?
0
Ok...now I get it. But can I ask 2 or more input values from user...I get an error from below code
x = int(input())
y = int(input())
print (x==y)