I am using Python 3
Here is the question
Consider a table fan. Write class TableFan. What would be theattributes of this class? Some examples of possible attributesinclude the speed levels of the fan, side-to-side movement (on/off,and degrees of movement), manufacturer name, cost, etc. Think aboutit this way: you want to be able to get information about the fan.For example, if you want to buy or sell a fan on a website such asCraigslist, what features would you be interested in? Also,consider control (operations) you might want to have over the fansuch as setting the speed or having it oscillate. Also, think aboutthe types of the attributes of TableFan. Are they primitives? Wouldsome of them be better represented as classes themselves?
Answer to I am using Python 3 Here is the question Consider a table fan. Write class TableFan. What would be the attributes of thi…