Pass or Fail
Python
Easy
2 views
Problem Description
Marks m are provided (0 to 100). Output PASS if m is at least 35, otherwise output FAIL.
Input Format
One integer m.
Output Format
PASS or FAIL.
Official Solution
import sys
s=sys.stdin.read().strip()
if not s: sys.exit(0)
m=int(s)
sys.stdout.write('PASS' if m>=35 else 'FAIL')
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!