You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Faça um programa que tenha uma função chamada area(), que receba dimensões de um terreno retangular (largura e comprimento) e mostre a área do terreno
"""
def cabecalho(titulo):
print("-" * len(titulo))
print(f"{titulo}")
print("-" * len(titulo))
cabecalho("Controle de Terrenos")
def area(largura, comprimento):
print(f"A área de um terreno '{largura}x{comprimento}' é de {largura * comprimento}m².")