CJCoding With Joseph
15free / daySign inCreate account

Count The Passes

Read the pass mark as one integer from input() with no prompt, then walk the list grades with a for loop and count how many elements are greater than or equal to that mark, adding one to count each time. After the loop print the count as a single number. Input: one integer. A mark above every grade gives 0.

Expected Output:

5

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

Hints3 available
Topics:
Lists
📥 Auto-Input:
50\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.