Favourite Colour¶
Take the code from the previous exercise and add the ability to collect the user’s favourite colour.
You will need to:
add a new Label
add a new Entry
call
.grid()on the label and entry.Be sure to adjust the row for the submit button (it needs to be moved down to the next row)
printoutput in thehandle_submitfunction.
Name the file: favourite_colour.py
©2021 Daniel Gallo
This assignment is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States License.
