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 Increase in Python
  4. Submit OECD in Python
  5. Submit Triangle in Python
  6. Submit Probability in Python
  7. Submit DNA in Python

When to Do It

By 2026-10-25T23:59:00-04:00.

How to Get Help

Academic Honesty

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