a Python Code for creating the Class named TV and a Test Driver program named TestTV that will create two objects from Class TV and will produce the following output:
To run the program, you'll need to have Python 3 installed on your computer.
Note: This program might works only for windows os.
I used VS Code to create and run the program.
The script requires the following Python packages:
- PySimpleGUI
pip install PySimpleGUI
- Clone the repository.
- Open a terminal and navigate to the directory containing the script:
cd /path/to/directory
- Run the script using python:
python TestTV.py
- The python file will read another python class file called TV.py.
- Finally, it will display the output.
contact me through facebook. Link is in my profile.