Problem Set 6

What to Do

  1. Submit Hello in Python
  2. Submit one of:
  3. Submit one of:
    • Cash in Python, if feeling less comfortable
    • Credit in Python, if feeling more comfortable
  4. Submit Readability in Python
  5. Submit DNA in Python

If you submit both versions of Mario, we’ll record the higher of your two scores. If you submit both Cash and Credit, we’ll record the higher of your two scores.

When to Do It

By 31 December 2020 at 23:59 Eastern Standard Time.


  • Try out any of David’s programs from class via Week 6’s source code.

Academic Honesty

  • For Hello, Mario, Cash, Credit, and Readability, it is reasonable to look at your own implementations thereof in C.
  • It is not reasonable to look at others’ implementations of the same in Python.
  • Insofar as a goal of these problems is to teach you how to teach yourself a new language, keep in mind that these acts are not only reasonable, per the syllabus, but encouraged toward that end:
    • Incorporating a few lines of code that you find online or elsewhere into your own code, provided that those lines are not themselves solutions to assigned problems and that you cite the lines’ origins.
    • Turning to the web or elsewhere for instruction beyond the course’s own, for references, and for solutions to technical difficulties, but not for outright solutions to problem set’s problems or your own final project.