Untitled
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