Python IDEL, programming homework help

Design a class named Fan to represent a fan. The class contains:
Three constants named SLOW, MEDIUM, and FAST with the values 1, 2, and 3 to denote the fan
speed
• A private int data field named speed that specifies the speed of the fan
• A private bool data field named on that specifies whether the fan is on the default is False)
A private float data field named radius that specifies the radius of the fan
• A private string data field named color that specifies the color of the fan
The accessor and mutator methods for all four data fields
A constructor that creates a fan with the specified speed (default SLOW), radius (default 5),
color (default blue) and on (default False)
An __str_method to print the features and settings of the fan
.
.
Implement the class. Write a test program that creates two Fan objects. For the first object, assign the
maximum speed, radius 10, color yellow and turn it on. You pick the settings and features for the
second fan. Use the Mutators to change some of the features and/or settings. Use the Accessors to
display a few of the features and/or settings for one of the fans. Display each fan’s features and settings
using _str__through a print.

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper
Still stressed from student homework?
Get quality assistance from academic writers!

Order your essay today and save 25% with the discount code LAVENDER