def Seuil(A): i=0 p=1000 while p>A: i=i+1 p=0.99*p return i,p