Tkinter in python

import tkinter

from tkinter import*

Creatina a mainwindow

r=Tk()

mainloop method called

mainloop()

Hello, Welcome to the community.

Please explain your issue.

Hope this might help you on your learning journey. Keep learning.