exercice_5_correction.py

Created by cahier-2de-snt2020

Created on April 28, 2020

183 Bytes

correction de l’exercice 5 p. 125 du cahier SNT Bordas.


def mails(nombre, t, n):
    total = nombre
    for i in range(n):
        nombre = nombre * (1 + t/ 100 )
        total = total + nombre
    return total