I wanna replace the widgets in the tkinter gui, but when i am using .destroy, i am getting the object nonetype has no attribute destroy, I am not able to use for loop to use