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

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

Gate Smashers

54 года назад

201,308 Просмотров

0:00 - Introduction
0:32 - For loop
1:54 - While loop
3:48 - Example (While loop)
6:41 - Example (For loop)

👉Subscribe to our new channel:https://www.youtube.com/@varunainashots

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):
https://www.youtube.com/playlist?list=PLxCzCOWd7aiEb4apyN1Y8mD-QuUTr3SPQ

► Class XI Computer Science(Full Syllabus)
https://www.youtube.com/playlist?list=PLxCzCOWd7aiGPUtEXMqeQcHYH7ACCJvz7

Other subject-wise playlist Links:
--------------------------------------------------------------------------------------------------------------------------------------
► Microprocessor Playlist:
https://www.youtube.com/playlist?list=PLxCzCOWd7aiHL7mF_dRsj4Q9x1NNaZqkh
►Computer Networks :
https://www.youtube.com/playlist?list=PLxCzCOWd7aiGFBD2-2joCpWOLUrDLvVV_
►Design and Analysis of algorithms (DAA):
https://www.youtube.com/playlist?list=PLxCzCOWd7aiHcmS4i14bI0VrMbZTUvlTa
►Database Management System:
https://www.youtube.com/playlist?list=PLxCzCOWd7aiFAN6I8CuViBuCdJgiOkT2Y
► Theory of Computation
https://www.youtube.com/playlist?list=PLxCzCOWd7aiFM9Lj5G9G_76adtyb4ef7i
►Artificial Intelligence:
https://www.youtube.com/playlist?list=PLxCzCOWd7aiHGhOHV-nwb0HR5US5GFKFI
►Computer Architecture:
https://www.youtube.com/playlist?list=PLxCzCOWd7aiHMonh3G6QNKq53C6oNXGrX
►Operating System:
https://www.youtube.com/playlist?list=PLxCzCOWd7aiGz9donHRrE9I3Mwn6XdP8p
►Structured Query Language (SQL):
https://www.youtube.com/playlist?list=PLxCzCOWd7aiHqU4HKL7-SITyuSIcD93id
►Discrete Mathematics:
https://www.youtube.com/playlist?list=PLxCzCOWd7aiH2wwES9vPWsEL6ipTaUSl3
►Compiler Design:
https://www.youtube.com/playlist?list=PLxCzCOWd7aiEKtKSIHYusizkESC42diyc
►Number System:
https://www.youtube.com/playlist?list=PLxCzCOWd7aiFOet6KEEqDff1aXEGLdUzn
►Cloud Computing & BIG Data:
https://www.youtube.com/playlist?list=PLxCzCOWd7aiHRHVUtR-O52MsrdUSrzuy4
►Software Engineering:
https://www.youtube.com/playlist?list=PLxCzCOWd7aiEed7SKZBnC6ypFDWYLRvB2
►Data Structure:
https://www.youtube.com/playlist?list=PLxCzCOWd7aiEwaANNt3OqJPVIxwp2ebiT
►Graph Theory:
https://www.youtube.com/playlist?list=PLxCzCOWd7aiG0M5FqjyoqB20Edk0tyzVt
►Programming in C:
https://www.youtube.com/playlist?list=PLxCzCOWd7aiGmiGl_DOuRMJYG8tOVuapB
►Digital Logic:
https://www.youtube.com/playlist?list=PLxCzCOWd7aiGmXg4NoX6R31AsC5LeCPHe

---------------------------------------------------------------------------------------------------------------------------------------
Our social media Links:
► Subscribe to us on YouTube: https://www.youtube.com/gatesmashers
►Subscribe to our new channel: https://www.youtube.com/@varunainashots
► Like our page on Facebook: https://www.facebook.com/gatesmashers
► Follow us on Instagram: https://www.instagram.com/gate.smashers
► Follow us on Instagram: https://www.instagram.com/varunainashots
► Follow us on Telegram: https://t.me/gatesmashersofficial
► Follow us on Threads: https://www.threads.net/@gate.smashers
--------------------------------------------------------------------------------------------------------------------------------------
►For Any Query, Suggestion or notes contribution:
Email us at: [email protected]
#loops #pythonprogramming #pythontutorial

Тэги:

#for_loop #for_loop_in_python #while_loop_in_python #For_Loop_vs_While_Loop #python_programming #python #loops_in_python #python_for_beginners #python_loops #python_for_loop #python_while_loop #for_loops #do_while_loop #while_loops #for_loop_vs_while_loop #programming #gate_smashers #python_gate_smashers #Python #For_Loop #While_Loop #Iteration #Control_Flow #Looping #Programming_Basics #Programming_Concepts #Python_Tutorials #Learn_Python #Python_Programming #Python_Basics
Ссылки и html тэги не поддерживаются


Комментарии: