Question: Lab 4 : Create a Python project called Everglades _ FirstName _ LastName or Lab 4 _ FirstName _ LastName. Remember to include comments summarizing

Lab 4: Create a Python project called Everglades_FirstName_LastName or Lab4_FirstName_LastName. Remember to include comments summarizing the program.
The exhibits are managed with an Exhibit class. Each exhibit will have a name, temperature, and humidity.
Functions must also be included to access and modify these properties. The __str__ function will return a string describing the state of an Exhibit object. Use the example output as a reference for what to include in this string.
The everglades are a specific exhibit that will be managed with an Everglades class that inherits from Exhibit. In addition to the inherited properties, the everglades will also have a water level. Use the default values everglades,80, and 90 for the name, temperature, and humidity. The water level will be a parameter for the Everglades constructor.
There must also be a function to access and a function to modify the water level. The __str__ function will return a String describing the state of an Everglades object. Use the example output as a reference for what to include in this String.
The main function will include object constructions for each class. Construct an Exhibit object with the values arctic tundra,12, and 75 for the name, temperature, and humidity, respectively. Construct an Everglades object with the value 5 for the water level. Print the state of each object to the console using the __str__ method.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!