Untitled

mail@pastecode.io avatar
unknown
plain_text
18 days ago
489 B
1
Indexable
Never
def calcular_preco_combo(pizza: float, refrigerante: float) -> float:
    """Calculate the total price of a combo including pizza and drink."""
    total = pizza + refrigerante
    return total

def main():
    print('Olá')

    # Calculate the total price of the combo
    preco_combo = calcular_preco_combo(30, 20.0)  # Use a numeric value for refrigerante
    print(f'Preço total: {preco_combo}')

    print('Programa finalizado')

if __name__ == '__main__':
    main()
Leave a Comment