0
Please See the code and please correct it if it has too mistakes
x = input (" ") if x : 24 print ("given number is correct") elif : x < 24 print ("given number is smaller than the number expected") elif : x > 24 print ("given number is greater than the number expected")
5 Answers
+ 3
You have many mistakes:
indentation error, syntax error, colon and newlines on wrong places, etc. you are comparing numbers, so it is necessary to convert the given input to number, so you should use int() to convert the input to string as python takes input as string by default.
See the correct and working code:
https://code.sololearn.com/cc9PebpRA3Dk/?ref=app
0
Does it have a mistake? Does it give the result you are looking for? If no then please tell us what is wrong.
0
It's giving indentation error
0
Indentation error. If you solve indentation error it gives syntax error
0
Thanq all of you