def clown(selfx)print "clowning:" print self value return self value def main()print "clowning around now bozo( bozo( print clown( print clown( clown( )main(programming exercises modify the cannonball simulation from the so that it also calculates the maximum height achieved by the cannonball use the button class discussed in this to build gui for one (or moreof your projects from previous write program to play "three button monte your program should draw three buttons labeled "door ""door ,and "door in window and randomly select one of the buttons (without telling the user which one is selectedthe program then prompts the user to click on one of the buttons click on the special button is winand click on one of the other two is loss you should tell the user whether they won or lostand in the case of losswhich was the correct button your program should be entirely graphicalthat isall prompts and messages should be displayed in the graphics window extend the program from the previous problem by allowing the player to play multiple rounds and displaying the number of wins and losses add "quitbutton for ending the game modify the student class from the by adding mutator method that records grade for the student here is the specification of the new methodaddgrade(selfgradepointcreditsgradepoint is float that represents grade ( etc )and credits is float indicating the number of credit hours for the class modifies the student object by adding this grade information use the updated class to implement simple program for calculating gpa your program should create new student object that has credits and quality points (the name is irrelevantyour program should then prompt the user to enter course information (gradepoint and creditsand then print out the final gpa achieved