Computing 3 Flashcards
(1 cards)
1
Q
How to make a program that tells you if you passed or fail from a mark.
A
mark = int(input(“type your mark”))
if mark >= 80:
print(“merrit”)
elif mark >= 50:
print(“pass”)
else:
print(“fail”)