Canteen Sales on Monday
Data questions · Beginner · about 3 min
canteen_monday.csv lists each item the school canteen sells and how many were sold on Monday. Set answer to the total number of items sold that day.
Example
The first lines of canteen_monday.csv:
item,sold sandwich,42 samosa,35
canteen_monday.csv · 8 rows
| item | sold |
|---|---|
| sandwich | 42 |
| samosa | 35 |
| fruit cup | 18 |
| juice | 51 |
| muffin | 27 |
| idli | 22 |
| popcorn | 30 |
| milk | 24 |
import pandas as pd
df = pd.read_csv("canteen_monday.csv")
answer = None
The solution opens after your first Check.