Editor

Scores Above 80

Data questions · Beginner · about 4 min

test_marks.csv has each student's name and mark out of 100. Set answer to how many students scored more than 80. A mark of exactly 80 does not count.

Example

The first lines of test_marks.csv:

name,marks
Asha,72
Ben,85
test_marks.csv · 20 rows
namemarks
Asha72
Ben85
Chen80
Dara91
Eli64
Farah80
Gopal88
Hana79

First 8 of 20 rows.

import pandas as pd
df = pd.read_csv("test_marks.csv")
answer = None
The solution opens after your first Check.