Answered step by step
Verified Expert Solution
Link Copied!

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()
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Driven Web Sites

Authors: Joline Morrison, Mike Morrison

2nd Edition

? 061906448X, 978-0619064488

More Books

Students also viewed these Databases questions