0
why does it error?
when I type in Enter a number: 80 for example it errors showing that this line of code is wrong? it says enter values separately in a massage box. so?
6 Respuestas
+ 1
The error is with the line "Enter a number : 99" in the code you shared. This is not a valid python command. The message box you get is because of the "input" command you used and it expect a value to be entered there.
+ 1
x = 93
#my_boolean = True -->comment it
y = input("Enter a number: y ")
#Enter a number: 99--> comment it or tell us what u want to do with this statement?
if x == y:
print("numbers are equal")
0
can you describe your question in briefly. or post your code
0
what you want to do in your code??
just wrote that line no 7th statement in print function and then check your code
#Let me know what you want to do in your code
0
I wanted to set X , Y as a variable to be Compared with it and then a print command to show the result