CJCoding With Joseph
15free / daySign inCreate account

Pass Label In One Line

Read a mark and print it followed by its label in the form <mark>: Pass or <mark>: Fail, where 50 or more passes. Choose the label with the conditional expression a if condition else b in a single assignment to a variable named status, then print one f-string. Input: one integer, the mark, no prompt. Output: one line.

Expected Output:

72: Pass

= newline. The output ends with a newline — print one after the last line.

Hints2 available
Topics:
If StatementsOperators
📥 Auto-Input:
72\n
This input is automatically fed to your program's stdin
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.