Main program is the part of the code where the real execution of the program starts. As a rule of thumb any statements and control structures that are attached to the left boundary are part of the main program. Main program is usually at the very end of a code file and usually inside
if __name__ == "__main__":
statement. However do not use this statement in the earlier exercises because then the checker cannot execute your program's main program.