Advertisement
Guest User

Untitled

a guest
Apr 5th, 2020
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.41 KB | None | 0 0
  1. import random
  2. import time
  3.  
  4. class Control():
  5.     def __init__(self, status = "off", volume = 0, channel_list = ["AzTv"], channel = "AzTv"):
  6.         self.status = status
  7.         self.channel_list = channel_list
  8.         self.channel = channel
  9.         self.volume = 0
  10.  
  11.     def __del__(self):
  12.         print("Deleting the system...")
  13.  
  14. lg = Control("on",23,["AzTv","TRT","CBC","BBC","NatGeoWild"],"CBC")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement