the sub-menu. But the description there of the IDLE debugging features is not very detailed, so I
suggest instead that you look instead at https://www.cs.uky.edu/~keen/help/debug-tutorial/debug.html .
A more elaborate development environment called PyCharm is also available in the labs. You can also
download a free student version of PyCharm from https://www.jetbrains.com/student/ . PyCharm has
more functionality than IDLE, but is therefore harder to learn. I will be using IDLE in class. You can
also access some free textbooks from https://proquest.safaribooksonline.com/) when on campus or
using the Library VPN (https://www.library.ucdavis.edu/service/connect-from-off-campus/). Head First
Python is a very popular beginning Python programming book available for free on that site.
You will need to upload your programming homework to the zyBooks site, where it will be
automatically graded. You will get immediate feedback about how your program’s output compared to
the correct output, both for any public test cases, and for any non-revealed test cases. You may resubmit
it as many times as necessary before 11:59 PM on the due date, and the highest score will be counted.
But please debug it on your own, rather than depend only on the feedback from the grading system.
You may continue to resubmit it until 11:59 PM on the expiration date, and the highest of either 50% of
the best late submission score, and 100% of the best of any on-time submissions, will be your final
Plagiarism Please be aware that your assignment source code will be downloaded from the Canvas site
after the assignment expires, and compared with other students' work, and to online sources, to detect
plagiarism. It is not prohibited to get programming help from another student, a TA, the professor, or an
other source, but you are required to acknowledge this help in a comment in your source program. You
can insert a comment either between a # character and the end of the current line, or in a multi-line
block with three consecutive ‘ signs before and after it (see Construct 5.3.1 in section 5.3 of our
textbook). Even that acknowledgement does not excuse direct copying of most or all of someone else’s
work. Be aware that all submissions will be investigated for plagiarism, so if you submit a plagiarized
version first as a test, and then develop and submit your own versions later, you are still guilty of
Please be careful when asking questions about your work on Piazza. If you need to include your
complete source code in a Piazza post, please make sure that the post is a private one, visible only to
the professor and the TAs. If you find such code on Piazza that was inadvertently posted, copying it
without attribution still constitutes plagiarism. In general, even acknowledgment of a location from
which you copied too much of your code will probably reduce your score on that assignment.
Plagiarism will be reported to the Office of Student Support and Judicial Affairs (OSSJA). More than
one incident of academic misconduct will lead to increased disciplinary sanctions, potentially including
suspension from UC Davis. If you let another student look at your code to explain one detail, that
student might end up taking a picture of your entire code and using it. In that case, in the case of
including your code in a public Piazza post, or the case of sending the assignment description to a
problem solving web site (all these things happened the last time I taught this course), and other
students have code similar to yours, you will also be included in the group flagged for plagiarism. The
spirit of this plagiarism policy is described well at Professor Amenta’s winter 2013 ECS10 (an earlier
version of ECS32A) web site:
“You should write each line of your program yourself, and you should know what it does and
why it is there. To check yourself, you should type each line of your program yourself; never copy or
cut-and-paste from another file. While you're typing, ask yourself, do I know what this line does? Why
am I including it in this program?
Often the easiest way to write a program, even in industry, is to take an already-existing