Ive set up this program that checks the mark out of 100 for a test. If the user inputs less than 60 it should say fail if more than 59, pass.
mark = int(input("Please enter the exam mark out of 100 "))
if mark < 60:
print("\nFail")
elif mark < 101:
print("\nPass")
else:
print("\nThe mark is out of range")
how do i get the program not to have errors if the user does not input the Integer.
Please help, is there a quick solution that 14 year olds would understand?