cours/dmmath.py

11 lines
177 B
Python
Raw Permalink Normal View History

2021-10-19 08:17:12 +00:00
from math import*
def temps():
T = 0
nb_litre = 0
while nb_litre <= 2400:
T += 1
nb_litre = 4800-4800*exp(-0.00625*T)
return(T)
print(temps())