PON II: Coding basics (Python) | Part 2 - Overview
conditions | loops | functions | modules
Slides:
Downloads to code along (right-click & save as):
Homework:
This homework is again optional but a great way of practicing what you have learned during the course.
If you have questions, send them via e-mail. I might either respond to you individually or address common questions at the beginning of next the session.
This homework is easiest to work on when you use the provided Jupyter Notebook. Here are some slides Introducing Jupyter.
Downloads (right-click & save as):
- homework-part2.ipynb (Jupyter Notebook)
- homework-part2-solution.ipynb (Jupyter Notebook with "solutions")
Alternative files, should Jupyter not work:
- homework_part2.py (A "normal" Python script with the same exercises)
- homework-part2-solution.html (HTML-Export of the above Jupyter Notebook with instructions and "solutions")
- Download the
homework-part2.ipynb
Notebook and save it on your computer. - Start Jupyter via the Anaconda Navigator (Windows) or by typing
conda activate
and thenjupyter notebook
in your terminal (Mac or Linux). - Navigate in the Jupyter file browser to where you saved the notebook, open it and follow the contained instructions.
- Have fun!