Need Help! in English and using python
2) Add the implementation of the methods as in bold in thefollowing class diagram.TelevisionTelevision ()togglePower()toggleMute ()volumeUp ()volumeDown ()isPowerOn ()isMuted()getVolume()channelUp ()channelDown ()setChannel(number)jumpPrevChannel ()__str__()getChannel()getPrevChannel ()
3) Add docStrings to the class constructor
4) Use the pydoc command to produce a text file for thedocumentation of the Television class. You can run pydoc using thefollowing command from a Microsoft Windows1 Command Promptwindow:
C:”Program Files”Python36Libpydoc.py .Television.py >Television.txtThe above command assumes that we are using Python3.6 which is installed in the default location. You can make changeto this command if needed. This command will produce a text filenamed “Television.txt”.
5) Add unit testing