Tkinter While Executing The Below Code Getting An Error Bad Geometry

Tkinter While Executing The Below Code Getting An Error Bad Geometry