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
Total = 0
While True:
nome = input("insira o nome do item (ou 'sair' para sair): ")
if nome == 'sair':
break
preco = float(input("insira o preço do item:")
Total += preco
print ( f"Total: R${total: 2f}")
The text was updated successfully, but these errors were encountered:
Total = 0
While True:
nome = input("insira o nome do item (ou 'sair' para sair): ")
if nome == 'sair':
break
preco = float(input("insira o preço do item:")
Total += preco
print ( f"Total: R${total: 2f}")
The text was updated successfully, but these errors were encountered: