Show an error in VS code running Tkinter file

Please resolve it

Vs code shows error in Tkinter

#Note : this code is working perfectly on Jupyter notebook but shows an error only in VS code