TORONTO KIDS COMPUTER CLUB | Wednesday 17:00 Python Practice – 22.12.28.
21540
post-template-default,single,single-post,postid-21540,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

Wednesday 17:00 Python Practice – 22.12.28.

13 Dec Wednesday 17:00 Python Practice – 22.12.28.

Question:

Try to use for loop to create buttons from 1-9, so the tkinter window would display as below:

for i in range(1, 10):
col = ____________
row = ____________
btn_num = ____________
btn_num.grid(row=row, column=col)
No Comments

Sorry, the comment form is closed at this time.