i wanna build program to print name of user and i have typed more than way to print the name but in everytime when i test app its show Error File "<pyshell#62>", line 4, in Print AttributeError: 'NoneType' object has no attribute 'get'
i need help please
my code
from tkinter import *
def App():
root = Tk()
def Print():
Get_Name = Name.get() # i tried to test this way { str(Name.get()) } and didn't work
Label(root,text=f"Hello {Get_Name}").pack()
label = Label(root,text="Hello World\nType your name : ")
label.pack()
Name = Entry(root).pack()
Button(root,text="Print",command=Print).pack()
root.mainloop()