1from tkinter import *
2#Creating a win
3win = Tk()
4#Giving a Function To The Button
5def btn1():
6 print("I Don't Know Your Name")
7#Creating The Button
8button1 = Button(win, text="Click Me To Print SomeThing", command=btn1)
9#put on screen
10button1.pack()
11win.mainloop()
12#NB:This programme Will Print Something In The Terminal
13#Check My Profile To See How We Print On The Screen Or Type In Google "Tkinter Label"