Lec-25: For Loop vs While Loop🔁 in Python | Various Loops in Python 🐍 | Python for Beginners

preview_player
Показать описание
0:00 - Introduction
0:32 - For loop
1:54 - While loop
3:48 - Example (While loop)
6:41 - Example (For loop)

In Python, for and while loops are used for repetitive tasks where the code block needs to be executed multiple times. The main difference between the two is that a for loop is used for iterating over a sequence, while a while loop is used for executing a block of code repeatedly until a specified condition is met.

► Python For Beginners(Complete Playlist):

► Class XI Computer Science(Full Syllabus)

Other subject-wise playlist Links:
--------------------------------------------------------------------------------------------------------------------------------------
► Microprocessor Playlist:
►Computer Networks :
►Design and Analysis of algorithms (DAA):
►Database Management System:
► Theory of Computation
►Artificial Intelligence:
►Computer Architecture:
►Operating System:
►Structured Query Language (SQL):
►Discrete Mathematics:
►Compiler Design:
►Number System:
►Cloud Computing & BIG Data:
►Software Engineering:
►Data Structure:
►Graph Theory:
►Programming in C:
►Digital Logic:

---------------------------------------------------------------------------------------------------------------------------------------
Our social media Links:
--------------------------------------------------------------------------------------------------------------------------------------
►For Any Query, Suggestion or notes contribution:
#loops #pythonprogramming #pythontutorial
Рекомендации по теме
Комментарии
Автор

Sir Your OS, DBMS, DSA, Series is very helpful for my university Exam I not Understand Any Concept in Collage but i watched Videos my Concept is Clear Thank You For Help me...

neelmodi
Автор

finally i got the difference between the for loop and the while loop sir op 😎😎

Krishna_
Автор

Your Definition and explanation are too nice😊

annuvishwakarma
Автор

Thank you...sir.. please make playlist...

akhilteluguspark
Автор

Nice bro sabse achi bat ye lgi ki apne bina jyada time west kiye direct points bataye

testtesting
Автор

I am student of 8th class this help me very much in computer subject. THANK'S A LOT SIR.

SohamBorkar-upyy
Автор

Sir spacing kaise k jati h... After for loop and while loop and other loop.. Please tell me

shanugupta
Автор

truly helpful. thanks very much 🙏🙏🙏🙏❣❣

ishitavilasi
Автор

Sir for loop Wale example me for loop ke Bina code better work karwga

arnavagrawal
Автор

Sir please make video on machine learning 🙏🙏🙏🙏

learndaily
Автор

Bhaiya basic se related hi kuch questions share kijiye na taki hum use solve kr k dekh ske ki solve ho pa rha hai ki nhi

kunalkumarsingh
Автор

This first program is used in SBI AM'S for numbers between 1 to 25. IYKYK!

tradingpoint_sp
Автор

thanks a lot for detailed explanation.

bakhtawarjahan
Автор

Sir pls launch course for nic scientist b

sheshankmallick
Автор

@Gate Smashers  sir but why u not open your monitization????

Sahilsehgal
Автор

Sir c++ programming par bhi video banao please

kuldeepkumar-rirw
Автор

sir esy man while loop wala function ty sahi sy kam kar raha hy but for loop ka function sahi sy kam nh kar rha hy

MuhammadAhmad-wdrb
Автор

Sir I am bsc science student I am eligible for gate exam

anishinde
Автор

sir ji if elase wala example jada ache se smj aeya..wase hi bta do ye bhi

himanshulodhi
Автор

for i in range(1, 10)
Loop 1-9 tak he iterate karega

vikashjames