python-tutorial
python-tutorial copied to clipboard
Material for a Jupyter-based Python tutorial
We need to restart the kernel very often because we are modifying the package quite a lot. Maybe we can find a way with a cell magic to avoid the...
The `helpers.py` module can be split in two: everything related to the output and the internal stuff about pytest integration
- [ ] We start printing examples directly with string interpolation, never show them the simple `print(a)` - [ ] Start with explaining the difference between `print` and `return` (probably...
See remaining issues from https://github.com/empa-scientific-it/python-tutorial/pull/251 Also see #269 about exercises on scopes.
There's some work to think thoroughly if we (ever) want to create exercises about scopes that can also be testable. I started it with 5825037 but it's far from complete....
- [ ] in then conditionals quiz we use syntax `print(1, end=",")` but `end` was never explained - [ ] 1st warm-up fix docstring to explain we expect `(char, index)...
- [ ] Exercise 2, Part 3: The conversion factors between yd and ft to cm are **wrong**. Should be `yd/cm = 1/91.44` - [ ] Exercise 2, Part 1:...