Python #7 : Structures répétitives : la boucle while

  Рет қаралды 67,665

Hassan EL BAHI

Hassan EL BAHI

Күн бұрын

Dans cette vidéo, vous comprendrez comment utiliser la boucle while qui permet de répéter un bloc d'instructions tant qu'une condition est vraie.
------------
Playlists
Cours : bit.ly/3hyErDY
Exercices corrigés en Python : bit.ly/3sdkB6s
------------
LinkedIn : / elbahihassan
Instagram : / hassan.el.bahi
Facebook page : / elbahihassanpage
Facebook groupe : / devcademy
Site Web: elbahihassan.com/

Пікірлер: 45
@khalil5100
@khalil5100 24 күн бұрын
merci oustad vous etes le meilleur pédagogue
@Yuhimc
@Yuhimc 3 жыл бұрын
Pour l'exercice 1 : question = int(input("Donnez moi un nombre compris entre 10 et 20")) while question < 10 or question > 20: if question < 10: print("Plus grand !") elif question > 20: print("Plus petit") question = int(input("Donnez moi un nombre compris entre 10 et 20")) else: print("Merci")
@youssfchatwane4072
@youssfchatwane4072 2 жыл бұрын
waw
@tayatohamokhalakhooone9341
@tayatohamokhalakhooone9341 2 жыл бұрын
l=int(input("Entrer un nombre 10<
@CR-jy2hb
@CR-jy2hb 28 күн бұрын
n = int(input("entrer un nombre strictement supérieur à 1 : ")) while n
@zoumanabamba6731
@zoumanabamba6731 Жыл бұрын
Merci beaucoup vos vidéos m'aident énormément
@douniaelhor3743
@douniaelhor3743 Жыл бұрын
C super ! Merci beaucoup
@ilyassebakabou6981
@ilyassebakabou6981 3 жыл бұрын
A7ssen prooff merci infiniment ela les efforts
@hassanbahi
@hassanbahi 3 жыл бұрын
🙏
@hyacintheraharison2144
@hyacintheraharison2144 2 жыл бұрын
Merci beaucoup pour le tuto
@newworldtv8792
@newworldtv8792 2 жыл бұрын
Merci beaucoup pour la vidéo, j'aime les animations là. Pouvez vous me dire s'il vous plaît quel logiciel vous utilisez pour faire ces animations.
@michelguet4798
@michelguet4798 3 ай бұрын
Bonjour Hassan ,Bonjour Amis Francophones .Dans l'image d'intro au début de la vidéo ,on voit trois visages , je pense qu'il y a le créateur de python a gauche ,en haut il s'agit d'Alan Turing mais en bas le monsieur avec un turban , de qui s'agit-il ?
@bo3oo-tr3hi
@bo3oo-tr3hi 11 ай бұрын
N = int(input("entrer un nombre : ")) if N < 10 or N > 20 : while N 20 : N =float(input("plus grand !")) else: print("geneal")
@farahbni2548
@farahbni2548 2 жыл бұрын
Monsieur j'ai une question quand on fait print( le résultat) avant i reçoit i+1 ? par exemple on a un programme qui calcule la factoriel dans son algorithme on a écrit à la fin f=f*i I=i+1 Print (f) Et parfois print kanktboha 9bek mn i+1 Afaaak à oustad jawbni
@AchWa93-maroc
@AchWa93-maroc 2 жыл бұрын
merci pour votre Efforts.
@wedad4518
@wedad4518 2 жыл бұрын
ex2: n=int(input('un nbre? :')) while n
@oussamachaouki_6219
@oussamachaouki_6219 Жыл бұрын
Exercice 2 : [ N=int(input("Veuillez saisir un nombre : ")) while N
@medjji-db6il
@medjji-db6il 8 ай бұрын
😂😂😂😂😂
@medjji-db6il
@medjji-db6il 8 ай бұрын
S+=i ❤
@lalalala-qm2ul
@lalalala-qm2ul Жыл бұрын
merci beaucoup
@nobel_price
@nobel_price 2 жыл бұрын
Ты вообще молодец, я всё понял огромное спасибо большое
@brg_officiel
@brg_officiel 2 жыл бұрын
Mr dans l ex 2 pourquoi on a employé "i"ça signifie à quoi?
@adloule
@adloule Жыл бұрын
x = int (input("Donnez moi un nombre sup 1 ")) while x < 1: x =int(input("Donnez moi un nombre sup 1 ")) i = 0 s = x for i in range( x ): print(i) s = s + i print("somme est", s )
@malekyahyaoui1112
@malekyahyaoui1112 2 жыл бұрын
Merciiii
@davethefantastic2850
@davethefantastic2850 2 жыл бұрын
merci
@a.r9396
@a.r9396 3 жыл бұрын
Mèrci👍
@hassanbahi
@hassanbahi 3 жыл бұрын
🙏
@elmadaniamina4438
@elmadaniamina4438 Жыл бұрын
SVP M est ce que ce programme esr correct A = int(input("veuillez entrer un nombre ?, ")) while 10 < A < 20: print(int(input("veuillez enter un nombre ?"))) if A > 20 : print("plus grand !") elif A < 10: print("plus petit")
@vilsenatnewtech7063
@vilsenatnewtech7063 2 жыл бұрын
Super
@tabelsiemenamine1423
@tabelsiemenamine1423 2 жыл бұрын
@hamzagogza
@hamzagogza 2 ай бұрын
pour le dernier c'est pas de faire : n = int(input("veuilleur entrer un nombre : ")) while n
@saifouni70
@saifouni70 3 жыл бұрын
Terminer le cours de python s'il vous plaît
@hassanbahi
@hassanbahi 3 жыл бұрын
Prochainement
@abroum2783
@abroum2783 2 жыл бұрын
بقا تشرح لينا بالعربية وشكرا
@ffdf2195
@ffdf2195 2 жыл бұрын
ttttttoooooppppp
@FB1rocket
@FB1rocket 3 жыл бұрын
Ex2 Puis-je écrire de cette façon ? : N = int(input("Veuillez saisir un nombre:")) while N
@miss_tech
@miss_tech 3 жыл бұрын
Print(’’la somme de ’’ , N , ’’est: ’’ , S )
@Yuhimc
@Yuhimc 3 жыл бұрын
Salut ! dans ton : while N < 1: tu dois rajouter : or question > 10: qui fait : while question < 1 or question > 10: car l'exercice est une table de multiplication de 1 à 10 ;).
@israfilboy404
@israfilboy404 6 ай бұрын
il y a un petit faut dans l'exercice < est pas
@aymenchakroune6609
@aymenchakroune6609 2 жыл бұрын
ex2: x=int(input("entrer un nombre: ")) while x
@sungitah5431
@sungitah5431 Жыл бұрын
Tout simplement print("Programme qui affiche les tables de multiplication des nombres de 1 à 9") while True: a = int(input("Entrer un nombre : ")) if a > 10 or a < 1: print("Oops ! Veuillez entrer un nombre entre 1 et 9") else: print(f"Table de multiplication de {a}") for i in range(1,11): print(f"{a} x {i} = {a*i}")
@idoumhaidi
@idoumhaidi 2 жыл бұрын
exercice 2 : number = int(input("Veuillez saisir un nombre : ")) while number < 1: number = int(input("Veuillez saisir un nombre : ")) for i in range(1,number): number += i print (number)
@aminaraya4325
@aminaraya4325 Жыл бұрын
🤍🤍🤍
@user-MDZ
@user-MDZ 3 жыл бұрын
Merci beaucoup
@hassanbahi
@hassanbahi 3 жыл бұрын
🙏
Python #8 : Structures répétitives : break et continue
16:24
Hassan EL BAHI
Рет қаралды 40 М.
escape in roblox in real life
00:13
Kan Andrey
Рет қаралды 76 МЛН
Brawl Stars Edit😈📕
00:15
Kan Andrey
Рет қаралды 49 МЛН
Expected Ending?
00:45
ISSEI / いっせい
Рет қаралды 4,4 МЛН
Python : Les boucles
14:36
Docstring
Рет қаралды 20 М.
Algorithmes : Les structures répétitives
19:03
u math
Рет қаралды 30 М.
While loops in Python are easy ♾️
6:58
Bro Code
Рет қаралды 361 М.
Python #10 : Les variables locales et les variables globales
25:16
Hassan EL BAHI
Рет қаралды 34 М.
TUTO C - #6 Les boucles (while, do while et for)
10:11
Boris ('PrimFX')
Рет қаралды 50 М.
APPRENDRE PYTHON | #15 - La Boucle While
9:47
MaxCode
Рет қаралды 6 М.
informatique matlab : les boucles for et while - cours en ligne
31:11
Taha Academy Online Courses
Рет қаралды 26 М.
Les pointeurs
27:13
cours informatique Mahseur
Рет қаралды 41 М.