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”)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly