Que renvoie seuil_ari(20000) ?
seuil_ari(20000)
def seuil_ari(s): n = 0 u = 10 while u < s: u = u + 2 n = n + 1 return n
Que renvoie seuil_geo(10 ** 995)
seuil_geo(10 ** 995)
def seuil_geo(s): n = 0 v = 1 while v < s: v = v * 10 n = n + 1 return n