Work on your own (i.e., not with other classmates).
Use only the Python expressions and statements we have described thus far in class.
Download the starter file.
Write all your code in the file hw2.py
.
Replace (YOUR NAME)
with your name in the
comment near the top of the file.
First focus on trying to solve as many of the remaining lab exercises as you can.
Remember: to make use of simple_graphics
you need to
have the simple_graphics.py
file in the same folder as
where the file you are writing your code in resides.
Include in the lab section of the file (clearly marked), all the lab exercises that you worked on after lab time. (You and your lab partner should have already submitted to me a version of your lab that you worked on during lab. The homework portion of the lab represents your work on the remaining lab exercises.)
Then focus on solving as many of the additional homework problems
(spelled out for you in hw2.py
) as you can. You need not
solve them in order.
The homework serves both as practice and as an assignment to be evaluated. You need not feel pressure to complete every problem, but you should read all the problems carefully and try as many as you can.
Choose two of the additional problems (A-H) - indicate this as part of the comments you include at the top of your file - that you wish to focus my attention on. The problems are roughly in order of difficulty, so you might choose to put forward the two most challenging problems that you have completed and are confident are correct.
Test your work as you go!
Before submitting, fill out the remainder of the ...
comments near the top of the file according to what is
requested.
Replace ... status ...
with a brief comment as to
how much of the assignment you completed. (For example, “I completed all
of the assigned problems and I am confident they work correctly.” or “I
struggled on many of the problems and have left 6, D and G blank. There
is an error in H so I commented it out.”)
Submit your work by uploading your hw2.py
file via
MySLC
(Submit only your hw2.py
file - and make sure it
is named hw2.py
. Do not submut an entire folder. Do
not submit lab2.py
here; do not submit
the graphics module.)