11 lines
177 B
Python
11 lines
177 B
Python
|
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())
|