Programming assignment 2.3: PyOops

Programming assignment 2.3: PyOops#

Due: Sunday, November 30th.

You can preview this assignment on https://mude.citg.tudelft.nl/workbook-2025/assignments/PA2.3/README.html. After the deadline, this link will include solutions. The preview of the assignment version is shared here: https://mude.citg.tudelft.nl/workbook-2025/no_solutions/assignments/PA2.3/README.html. You can obtain your personal repository for submission on: https://classroom.github.com/a/AMlGdP2w.

Before you can start this assignment, read the theory pages in the book chapter Errors in Python:

In this assignment you’ll make exercises on:

  1. Iterable objects

  2. Modulo

  3. Stem plots

  4. Errors

You’ll need to have done 1-3 to be able to make the workshop and group assignment.

You pass this PA if you:

  • Correct output for task 1.4

  • The notebook for exercise 3 runs without errors

  • Figure from task 3.2 added to this repository from running the notebook.

  • The notebook for exercise 4 runs without errors

  • The py file for task 2 in the notebook doesn’t raise errors when run

By Robert Lanzafame and Jialei Ding, Delft University of Technology. CC BY 4.0, more info on the Credits page of Workbook.