Posts by Gabriel Dias • 11 points
3 posts
-
0
votes2
answers63
viewsQ: How to Catch the Smallest Value of a Series of Inputs
the user enters a code and the desired quantity, this code refers to some value of the list and then the value of the list is multiplied by the quantity. of this multiplication I want the most…
-
-1
votes1
answer77
viewsQ: *Python , discounted calculations are giving a wrong value, why?
tipo_comb = input('Digite [G} para gasolina \nE [A] para alcool: ') quantidade = float(input('Quantidade desejada: ')) cadastro = input('Digite [C] se possuir cadastro \nDigite [D] se não possuir…
-
0
votes3
answers77
viewsQ: *Python- why is my code giving me information I didn’t ask for?
should only show me the value of the fuel I requested, but it shows me the value of both gasoline and alcohol, no matter if I type D or A: tipo_comb = input('Digite [G} para gasolina \nE [A] para…