Merge pull request 'Fix Mutli Line' (#1) from fix-mutli-line into master
Reviewed-on: http://git.herisson.ovh/dari/essence/pulls/1
This commit is contained in:
commit
a2222f9282
16
essence.py
16
essence.py
@ -2,23 +2,9 @@
|
|||||||
|
|
||||||
ticket = int(input("Nombre de tickets a evaluer : "))
|
ticket = int(input("Nombre de tickets a evaluer : "))
|
||||||
|
|
||||||
|
|
||||||
#distance
|
|
||||||
|
|
||||||
distance = []
|
|
||||||
km = float(input("Distance parcourue (km) : "))
|
|
||||||
distance.append(km)
|
|
||||||
|
|
||||||
#litres
|
|
||||||
|
|
||||||
debit = []
|
|
||||||
L = float(input("Quantite d'essence consommee (L) : "))
|
|
||||||
debit.append(L)
|
|
||||||
|
|
||||||
|
|
||||||
#plusieurs_donnees
|
#plusieurs_donnees
|
||||||
|
|
||||||
j = 1
|
j = 0
|
||||||
while (j < ticket) :
|
while (j < ticket) :
|
||||||
|
|
||||||
km = float(input("Distance parcourue (km) : "))
|
km = float(input("Distance parcourue (km) : "))
|
||||||
|
Loading…
Reference in New Issue
Block a user