Program Development

There are several full length programs in the book. I would like you to copy these pieces of code and get them to run. Each program will be in a file by itself with .py extension. You must make sure that it runs as shown in the book. These programs do NOT have to be turned in. However, you are likely to see variations of these programs in either the quizzes or the tests.

Study in particular the UML diagrams from the two classes Loan and BMI. Notice both the structure and the nomenclature that is used. Draw the UML diagrams for the following exercises at the end of the chapter - 7.3 (Account class), 7.6 (Algebra class), and 7.10 (Time class). Write code to define the classes.