python-tutorial
python-tutorial copied to clipboard
Material for a Jupyter-based Python tutorial
The signature of the test function `test_multiples_of_n` should be `function_to_test: Callable[[List[int], int], int]`
The description says "using lower() to ensure consistent capitalization." But the proposed solution is missing it: ```python def reference_exercise3(words: List[str]) -> List[Tuple[str, int]]: return [(k, len(list(v))) for k, v in...
[Jupytext](https://jupytext.readthedocs.io/en/latest/install.html) is a package and Jupyter extension that provides a very useful way of "pairing" a notebook with a text file in many formats: a Python script, a Markdown, a...
Give more information on how to execute git commands when someone has two factor authentication in Github. Someone with 2fa could not even clone the repo inside Renku
Add a section to `intro.ipynb` with an explanation on how to use Renku
If you want to test the output of the iPython notebook, I would recommend using dependency injection. Write a class `iPythonGenerator` and one `DebugGenerator` that implement all the output. Then...
We know that people who are meeting Python for the first time struggle a lot with syntax. The idea is to have a introductory notebook **only about** syntax (an overview).
- [ ] Generating the github token is not documented so well, we need to tell them which access rights they need to use and maybe more - [ ]...
When the solution is correct, we don't offer a feedback with AI. We could add a "make your solution better" prompt to compare the student's solution to the reference, and...