Instructions
Please download lab materials lab05.zip from our QQ group if you don't have one.
In this lab, you have two tasks:
- Think about what would Python display in section 3 and verify your answer with Ok.
- Complete the required problems described in section 4 and submit your code to our OJ website.
The starter code for these problems is provided in lab05.py.
Submission: As instructed before, 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 reference to the textbook useful: