this is the full tracebackpy Traceback (most recent call last): File "/home/duomg/Documents/other_python/tk_.py", line 13, in <module> App().mainloop() File "/home/duomg/Documents/other_python/tk_.py", line 9, in __init__ tk.Button(master=self, text=num).grid(row=i, column=j) File "/home/duomg/apps/thonny/lib/python3.10/tkinter/__init__.py", line 2679, in __init__ Widget.__init__(self, master, 'button', cnf, kw) File "/home/duomg/apps/thonny/lib/python3.10/tkinter/__init__.py", line 2595, in __init__ self._setup(master, cnf) File "/home/duomg/apps/thonny/lib/python3.10/tkinter/__init__.py", line 2564, in _setup self.tk = master.tk File "/home/duomg/apps/thonny/lib/python3.10/tkinter/__init__.py", line 2383, in __getattr__ return getattr(self.tk, attr) File "/home/duomg/apps/thonny/lib/python3.10/tkinter/__init__.py", line 2383, in __getattr__ return getattr(self.tk, attr) File "/home/duomg/apps/thonny/lib/python3.10/tkinter/__init__.py", line 2383, in __getattr__ return getattr(self.tk, attr) [Previous line repeated 990 more times] RecursionError: maximum recursion depth exceeded and this is my code```py
import tkinter as tk
class App(tk.Tk):
def init(self, /):
for i in range(3):
for j in range(3):
num = 3 * (2 - i) + j + 1
tk.Button(master=self, text=num).grid(row=i, column=j)
if name == 'main':
App().mainloop()