from tkinter import *
from tkinter import messagebox
root = Tk()
root.geometry("500x250")
root.resizable(0, 0)
root.config(bg="#103030")
root.title("Feliz Dia do Pai")
titulo = Label(
text="Feliz Dia do Pai",font=("Arial", 28, "bold"),bg="#103030",fg="#49e3e3")
titulo.place(relx=0.2, rely=0.05)
def app():
messagebox.showinfo("Mensagem", "Pai, obrigado por tudo o que fazes por mim!\nÉs o melhor do mundo ")
but1 = Button(
text="Clica para uma surpresa",
bd=2,
bg='#107db2',
fg='white',
font=('verdana', 20, 'bold'),
command=app
)
but1.place(relx=0.05, rely=0.5, relwidth=0.9, relheight=0.2)
root.mainloop()