Page 314 -
P. 314
guis and data
Pool Puzzle
This is the section of the program that
creates the depot radio buttons. See
if you can complete it using the
fragments of code from the pool.
Be warned: you might not need
all of the pieces...
Label(app, text = "Depot:").pack()
depot.set(None)
Radiobutton(app, , , ).pack()
Radiobutton(app, , , ).pack()
Radiobutton(app, , , ).pack()
Note: each thing from
the pool can be used
only once!
value=
text= depot
value= StringVar()
text=
depot variable=
variable=
text depot
"Cambridge, MA" "Cambridge"
depot=
"Seattle, WA" "Seattle, WA" variable=
"Cambridge, MA"
value= "Cambridge, UK"
text=
"Cambridge, UK"
What piece of code would you use to make sure all of the radio
buttons are cleared after the record is saved?
you are here 4 279