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
| name | marks |
|---|---|
| Asha | 72 |
| Ben | 85 |
| Chen | 80 |
| Dara | 91 |
| Eli | 64 |
| Farah | 80 |
| Gopal | 88 |
| Hana | 79 |
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.