Calcular percentagem de 4 acontecimentos
from tkinter import * root = Tk() root.geometry( "700x300" ) root.resizable( 0 , 0 ) root.config( bg = "#2465a6" ) root.title( "Calcular percentagem " ) titulo = Label( text = "Calcular percentagem de 4 acontecimentos" , font =( "Arial" , "19" , "bold" ) , bg = "#2465a6" , fg = "#ebedf0" ) titulo.place( relx = 0.08 , rely = 0.05 ) texto_sub1 = Label( text = "Acontecimento 1" , font =( "Arial" , "13" , "bold" ) , bg = "#2465a6" , fg = "#ebedf0" ) texto_sub1.place( relx = 0.03 , rely = 0.25 ) texto_sub2 = Label( text = "Acontecimento 2" , font =( "Arial" , "13" , "bold" ) , bg = "#2465a6" , fg = "#ebedf0" ) texto_sub2.place( relx = 0.25 , rely = 0.25 ) texto_sub3 = Label( text = "Acontecimento 3" , ...