151k views
19 votes
# input a mark in a subject of a student and

Check if the student is pass or not pass [pass mark=30]​

1 Answer

6 votes

Answer:

mark = int(input("Enter mark: "))

if (mark >= 30):

print("Pass")

else:

print("Not pass")

User Cohan
by
4.8k points