Liste des activités

SNT:cours de seconde.

Lycée Pyrène: Monsieur David Poutriquet.

Activité automatismes: La boucle Python while:.... niveau 1.


Voici, un algorithme en Python , qu'affiche cet algorithme?


							a=2
							while(a<34):
								a=2*a+1
							
							print(a)
							


Ta réponse :

Voici, un algorithme en Python , qu'affiche cet algorithme?


							a=2
							while(a<34):
								a=3*a+4
							
							print(a)
							


Ta réponse :

Voici, un algorithme en Python , qu'affiche cet algorithme?


							a=1
							while(a<22):
								a=2*a+4
							
							print(a)
							


Ta réponse :

Voici, un algorithme en Python , qu'affiche cet algorithme?


							a=1
							while(a<22):
								a=4*a+4
							
							print(a)
							


Ta réponse :

Voici, un algorithme en Python , qu'affiche cet algorithme?


							a=1
							while(a<22):
								a=3*a+2
							
							print(a)
							


Ta réponse :