AMPS | THARC | KE8QZC | SFW | TSW
ORCID iD icon

Back to the class
Homework guidelines
Assignments are to be uploaded to Blackboard in the appropriate spot. Submitted homework should be a ".py" file. Each submitted homework must have the correct header information in this format:
# COMP 1110 Spring 2020
# < your name >
# Homework ##
#
So for example, if your name is Isaac Newton and your are submitting homework 7, it would look like
# COMP 1110 Spring 2020
# Isaac Newton
# Homework 7
#
Problems should be labeled correctly along with section number, i.e.
# Section 2.1, Problem 2.12
#
# your work for the problem
# ------------------------
#
# Problem A
#
# your work for the problem
# -----------------------
#


Problems for which you are asked an regular question that requires no programming should also appear in the ".py" file, but as comments. For example, if Problem 332 from Section 11.4 asks you to "write your favorite number", then you would encode this in the python file as
# # Section 11.4, Problem 332 # My favorite number is 12. #

Incorrect formatting of homework will lead to a loss of points!!!!