banner() returning 'reporting tool', and a main() that returns banner().upper() — with the standard if __name__ == '__main__': guard calling main() so importing the file never triggers execution. (Your submitted code is the module itself.)imported: nothing prints; run directly: main() executes
'REPORTING TOOL' from main()
The guard distinguishes import from direct execution.
__name__ is '__main__' only when run as a script.
The guard goes at the bottom of the file.