diff --git a/Chapitre 2 - Récursivité/C06_tp_fractales_koch.py b/Chapitre 2 - Récursivité/C06_tp_fractales_koch.py index 3e38b33..909ffe0 100644 --- a/Chapitre 2 - Récursivité/C06_tp_fractales_koch.py +++ b/Chapitre 2 - Récursivité/C06_tp_fractales_koch.py @@ -39,12 +39,12 @@ def fragment_koch(n, longueur): # Question 3 def koch(n): - global total """ Dessine un flocon de koch. La taille de chaque côté du triangle de départ est fixée par longueur = 100. La profondeur de récursion est limitée à n. """ + global total longueur = 300 total = 3 * (4**n) for i in range(3):