Strong in Math and Science
Data questions · Intermediate · about 6 min
marks.csv has each student's mark out of 100 in math and in science. Set answer to how many students scored at least 60 in both subjects. A mark of exactly 60 counts.
Example
The first lines of marks.csv:
name,math,science Anika,72,65 Bruno,58,81
marks.csv · 20 rows
| name | math | science |
|---|---|---|
| Anika | 72 | 65 |
| Bruno | 58 | 81 |
| Celia | 60 | 60 |
| Dinesh | 91 | 59 |
| Elif | 66 | 74 |
| Felix | 45 | 52 |
| Gita | 83 | 90 |
| Hugo | 60 | 57 |
First 8 of 20 rows.
import pandas as pd
df = pd.read_csv("marks.csv")
answer = None
The solution opens after your first Check.