Solution Exercice 7: algorithme Python qui renvoie la liste des diviseurs d'un nombre

Exercice 7

Ecrire un algorithme Python qui renvoie la liste des diviseurs d'un entier donné.
Exemple si n = 18 , l'algorithme renvoie la liste [1, 2, 3, 6, 9, 18]

Solution







 

Younes Derfoufi
CRMEF OUJDA

1 thought on “Solution Exercice 7: algorithme Python qui renvoie la liste des diviseurs d'un nombre

Leave a Reply

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Powered By
Best Wordpress Adblock Detecting Plugin | CHP Adblock