chapitre1_capacite1.py

Created by frederic-junier

Created on September 03, 2020

156 Bytes

algorithme de seuil


# Type your text here
def seuil(s):
  h = 2
  n = 0
  while h >= s:
    h = 0.8 * h
    n = n + 1
  return n
  
print(seuil(0.2))