Loading...
Loading...
Loading...
A course marks a student as passed when the marks are at least 40.
Given the marks, print Pass or Fail.
Pass or Fail.Example
Input
72
Output
Pass
Well above 40.
Try the problem first. Open one hint at a time.
Compare the marks with 40 using >=.
Use if and else. Exactly one of the two words is printed.
Write your Python code, run it on the examples and submit it to hidden tests.
Solve in the editor