Taxa por 1000 habitantes
from tkinter import * root = Tk() root.geometry( "500x400" ) root.resizable( 0 , 0 ) root.config( bg = "#145e96" ) root.title( "Taxa por 1000 habitantes" ) titulo = Label( text = "Taxa por 1000 habitantes" , font =( "Arial" , "26" , "bold" ) , bg = "#145e96" , fg = "#17d4c1" ) titulo.place( relx = 0.1 , rely = 0.05 ) texto_sub1 = Label( text = "Número de Casos (ou eventos): " , font =( "Arial" , "15" , "bold" ) , bg = "#145e96" , fg = "#17d4c1" ) texto_sub1.place( relx = 0.05 , rely = 0.25 ) texto_sub2 = Label( text = "População Total: " , font =( "Arial" , "15" , "bold" ) , bg = "#145e96" , fg = "#17d4c1" ) texto_sub2.place( relx = 0.34 , rely = 0.45 ) N_casos = IntVar() N_casos_entrada = Entry( textvariable =N_casos , ...