Create a simple GUI using the Tkinter library in Python that displays a button and a label
from tkinter import Button, Label,Tk
root = Tk()
root.title("LabelButton")
btn = Button(root, text="Button")
btn.pack()
lbl = Label(root, text="Label")
lbl.pack()
root.mainloop()
note
To compile and run the program, you can use the following commands:
python3 foo.py