partie1_ex39.py

Created by cahier-indice-algo-1techno

Created on April 22, 2022

136 Bytes


def bacteries(s):
    c = 0
    b = 10000
    while b < s:
        c = c + 1
        b = 2 * b + 1000
    return c