1. Instructions
In this lab, you have two tasks:
- Think about what python would display if the code described in section 3 were input to a python interpreter. You don't have to submit your answers. See section 3 for more details.
- Complete the required problems described in section 4 and submit your code with Ok, as instructed in lab00. The starter code for these problems is provided in
lab01.py
, which is distributed as part of the homework materials.
Submission: As instructed above, you need to submit your work with Ok by python ok --submit
.
You may submit more than once before the deadline,
and your score of this assignment will be the highest one of all your submissions.
Readings: You might find the following references to the textbook useful: