Skip to content

Conversation

@jhenifferakycharia
Copy link

Resolução da questão conforme o enunciado demanda.

kg_maca = float(input("Digite a quantidade de macas (kg): "))

valor_a_pagar = calcular_valor_frutas(kg_morango, kg_maca)
print(f"Valor: R$(valor_a_pagar: .2f)")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aqui faltou usar chaves para incluir a vairável. print(f"Valor: R${valor_a_pagar}")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants