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)
Sorry, the comment form is closed at this time.