Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started