Problem Set 6

What to Do

  1. Log into using your GitHub account
  2. Run update50 in your codespace’s terminal window to ensure your codespace is up-to-date.
  3. Submit Hello in Python
  4. Submit one of:
  5. Submit one of:
    • Cash in Python, if feeling less comfortable
    • Credit in Python, if feeling more comfortable
  6. Submit Readability in Python
  7. Submit DNA in Python
  8. Submit this form

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 2022-10-16T23:59:00-04:00.

How to Get Help

  • Browse or search for answers on Ed or post your own questions!
  • Watch shorts for any topics that you still have questions about.

  • Sign up for a tutorial!
  • Attend office hours!


Only DNA will be graded along the axis of Design for Problem Set 6, as the other problems in this problem set are re-implementations of work from Problem Sets 1 and 2.


  • Try out any of David’s programs from Week 6.

Academic Honesty

  • For Hello, Mario, Cash, Credit, and Readability, it is reasonable to look at your own implementations thereof in C and others’ 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.