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

Показать описание
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
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
Комментарии