Skip to content
- Reference
- Examples
- Python
A sales report from a CSV
Read a school tuck shop's sales from CSV text with the csv module, skip bad rows, then print totals, a best seller and a text bar chart.
pyPython20 minCodeDone
Back
Code
Inside: a 56-line program to run and change.
Already unlocked it? Sign in
Code editor. Press Control or Command plus Enter to run the code. Tab indents; to move focus out of the editor, press Escape and then Tab.