+ 1
Interpretation
Why is the Output is like that ? grade = int(input("enter a number:")) if(grade >= 70 and grade <= 100): print("Passed!") Output=> enter a number:Passed!
2 Answers
+ 1
Hi Miko Bacht,
This code might work,
grade = int(input("enter a number:"))
if grade >= 70 and grade <= 100 :
print("Passed!")
+ 1
Make sure to type print statement under if.