Problem Set 6

What to Do

  1. Log into cs50.dev 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

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 the College Board’s AP deadlines for the 2024–2025 academic year.

Advice

  • 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.