Question: python2.7 2: Modify the Sign() class to take in an optional parameter of type list that has 3 sentences that can be displayed on the
python2.7
2: Modify the Sign() class to take in an optional parameter of type list that has 3 sentences that can be displayed on the screen. If there arent three items in the list, then the default message as shown in problem 1 will be displayed.
from tkinter import Label,Tk
class Sign(Tk):
def __init__(self,parent=None):
Tk.__init__(self, parent)
self.make_widgets()
def make_widgets(self):
pass
Sign().mainloop()
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
