01 / 07
Splitting alone is not enough to call it
Last lesson you cut the work into a function per role. Next, those go in separate files.
The moment you divide the files, though, something gets in the way. The name of a function written in one file cannot be seen from the other. Calling by name alone worked because you were inside the same file.
What you reach for is import. It means "bring in".
def add(a, b): return a + bprint(add(2, 3))Result
5