Solution Exercise 68: algorithme qui détermine la liste des carrés parfait.

Exercise 68

Ecrire un algorithme Python qui détermine pour un entier donné, la liste des carrés parfaits compris entre 1 et n.
Exemple si n = 100 l'algorithme renvoie la liste [1 , 4 , 9 , 16 , 25 , 36 , 49 , 64 , 81 , 100]

Solution









 

Younes Derfoufi
CRMEF OUJDA

1 thought on “Solution Exercise 68: algorithme qui détermine la liste des carrés parfait.

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