from tkinter import *
root = Tk()
root.geometry("600x300")
root.resizable(0, 0)
root.title("Escolha de Refeição")
root.config(bg="#d9ead3")
def option():
selection = "O seu pedido é " + str(Protaina.get()) + ' com ' \
+ str(acompanhamento.get()) \
+ ' e a bebida será ' + str(bebida.get()) + '.'
label.config(text=selection)
Protaina = StringVar()
texto1 = Label(root, text="Proteínas", font=("Arial", "14", "bold"), bg="#d9ead3", fg="#bf9000")
texto1.place(relx=0.05, rely=0.1)
Rb1 = Radiobutton(root, text="Carne", variable=Protaina, value="Carne",
command=option, font=("Arial", "12", "bold"), fg="#ce7e00", bg="#d9ead3")
Rb1.place(relx=0.05, rely=0.3)
Rb2 = Radiobutton(root, text="Peixe", value="Peixe", variable=Protaina,
command=option, font=("Arial", "12", "bold"), fg="#ce7e00", bg="#d9ead3")
Rb2.place(relx=0.05, rely=0.45)
Rb3 = Radiobutton(root, text="Ovos", value="Ovos", variable=Protaina,
command=option, font=("Arial", "12", "bold"), fg="#ce7e00", bg="#d9ead3")
Rb3.place(relx=0.05, rely=0.6)
acompanhamento = StringVar()
texto2 = Label(root, text="Acompanhamento", font=("Arial", "14", "bold"), bg="#d9ead3", fg="#bf9000")
texto2.place(relx=0.4, rely=0.1)
Rb4 = Radiobutton(root, text="Arroz", variable=acompanhamento, value="Arroz",
command=option, font=("Arial", "12", "bold"), fg="#ce7e00", bg="#d9ead3")
Rb4.place(relx=0.45, rely=0.3)
Rb5 = Radiobutton(root, text="Batata", value="Batata", variable=acompanhamento,
command=option, font=("Arial", "12", "bold"), fg="#ce7e00", bg="#d9ead3")
Rb5.place(relx=0.45, rely=0.45)
Rb6 = Radiobutton(root, text="Massa", value="Massa", variable=acompanhamento,
command=option, font=("Arial", "12", "bold"), fg="#ce7e00", bg="#d9ead3")
Rb6.place(relx=0.45, rely=0.6)
bebida = StringVar()
texto3 = Label(root, text="Bebida", font=("Arial", "14", "bold"), bg="#d9ead3", fg="#bf9000")
texto3.place(relx=0.75, rely=0.1)
Rb7 = Radiobutton(root, text="Água", variable=bebida, value="Água",
command=option, font=("Arial", "12", "bold"), fg="#ce7e00", bg="#d9ead3")
Rb7.place(relx=0.75, rely=0.3)
Rb8 = Radiobutton(root, text="Coca-Cola", value="Coca-Cola", variable=bebida,
command=option, font=("Arial", "12", "bold"), fg="#ce7e00", bg="#d9ead3")
Rb8.place(relx=0.75, rely=0.45)
Rb9 = Radiobutton(root, text="Ice Tea", value="Ice Tea", variable=bebida,
command=option, font=("Arial", "12", "bold"), fg="#ce7e00", bg="#d9ead3")
Rb9.place(relx=0.75, rely=0.6)
label = Label(root, font=("Arial", "12", "bold"), fg="blue", bg="#d9ead3")
label.place(relx=0.15, rely=0.85)
root.mainloop()