Files
2023-12-10 13:28:46 +01:00

21 lines
317 B
Python

from tkinter import *
root = Tk()
e = Entry(root, width=50)
e.pack()
e.insert(0, "Enter Your Name: ")
def myClick():
hello = "Hello " + e.get()
myLabel = Label(root, text=hello)
myLabel.pack()
myButton = Button(root, text="Enter Your Stock Quote", command=myClick)
myButton.pack()
root.mainloop()