TORONTO KIDS COMPUTER CLUB | Monday 20:00 Python Practice 21.02.15.
19061
post-template-default,single,single-post,postid-19061,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

Monday 20:00 Python Practice 21.02.15.

20 Feb Monday 20:00 Python Practice 21.02.15.

Question:

Continue to program the code we made in the class at the bottom of this page. 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

Post A Comment