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