Modules and Packages

Import from Another File

① Learn

A module is just a Python file you can import. Splitting code into modules keeps bigger programs easier to read and reuse.

② Implement — write it, run it, submit
Goal

Import `helpers` and make `total` equal `11`.

Output
Hints
  • Stuck? Reveal a hint.
Free Tools & Calculators