python • While • Exercice pour l'utiliser + comprendre son intérêt • Nombre de billes d'une pyramide
jaicompris Maths
0:00 / 0:00
python • While • Exercice pour l'utiliser + comprendre son intérêt • Nombre de billes d'une pyramide
18 498 просмотров · 5 лет назад
jaicompris Maths
463 тыс. подписчиков
18 498 просмотров · 5 лет назад
http://jaicompris.com/python/python-w...
python - While - Exercice pour comprendre comment utiliser l'instruction while pour faire une boucle et comprendre son intérêt
Inès veut construire une pyramide à base carrée comme sur la photo. La pyramide sur la photo a 7 étages. Inès a 1000 billes. Combien d'étages au maximum aura sa pyramide? Écrire un programme en Python pour répondre au problème.
savoir calculer une somme
python lycée SNT seconde programmation boucle while