You know import gives you a name to reach through. But import is an instruction — Python does something the moment it hits that line.
There's a file called greeting.py sitting next to your code. It holds a small hello function, and above it a single print line that isn't inside any function at all. It's just sitting there at the top level.
Hold on to that detail.