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.

Coding

Accept the assignment

CriteriaComments
(recommended) Used only the programming structures we have introduced until now.[1]
Variable names follow a consistent convention: camelCase or snake_case
There are no magic numbers (Constant values have a name)
Variable names are meaningful.
Code is easy to follow.
Function is correct.

E: Alphabetically last

E: February

E: Hit The Target

E: Factorial

E: Growth forecast

E: Cash rounding

E: Hypnotic pattern

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. Advanced concepts will be introduced in the coming weeks. This criterion is optional; the choice is yours.

  2. Because a solar year has actually slightly less than 365 14\frac{1}{4} days. Adding a day every four years fixes the 14\frac{1}{4} error, but if we would not have exception to the leap years, then we would add more days than actually required.