Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Accept the assignment

Criteria

  • Follows the interaction example in the task and passes the autograder tests.

  • Code is easy to follow, e.g.:

    • no code duplication (by using functions)

    • relatively long code is broken down in functions

    • no deeply nested logic where a simpler structure works

  • The code is commented where the why is not obvious.

  • Variable names

  • Numbers with a special meaning have a name.

  • (recommended) Only the programming structures introduced so far are used.[1]

  • Used exceptions where appropriate, e.g., in user input conversions.

Walking step statistics

Passphrase generator

Size to clothing code

Footnotes
  1. You may already know more advanced concepts. Sticking to what we’ve covered so far trains you to solve problems with a limited toolbox, and it means you face the same challenges as your classmates, so you can help each other. This criterion is optional; the choice is yours.

  2. We will introduce string methods in later chapters.