Fix for multi line

This commit is contained in:
Debucquoy Anthony 2022-09-06 12:06:56 +02:00
parent 46829ccbee
commit ca3fa14f82
Signed by untrusted user: tonitch
GPG Key ID: A78D6421F083D42E

View File

@ -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) : "))