Python Main Function and Examples with Code