0

if input(int("enter a number- ")) > input(int("enter another number- ")): print("you are stupid")

What's wrong with this code?

25th May 2019, 6:02 AM
ERROR_404
ERROR_404 - avatar
2 Answers
+ 6
First of all, you should put the int() outside the input, because you are now turning "enter a number- " and "enter another number- " into an integer, and that doesn't work. Do it like this: if int(input("enter a number"))..... Second of all, don't call people names
25th May 2019, 6:12 AM
Airree
Airree - avatar
0
Airree hehe thanks
25th May 2019, 8:48 AM
ERROR_404
ERROR_404 - avatar