Loop Control Statements - Break, Continue, Else, and Pass Statements in Python Tutorial

  Рет қаралды 11,296

WsCube Tech

WsCube Tech

Күн бұрын

In this video from WsCube Tech, you will learn about loop control statements in Python.
The break and continue statements in Python are jump statements that skip some statements in the loop. It terminates the loop immediately without looking at the test expressions.
You can also use these statements in any type of loop-like while loop, for loop, do-while loop, etc.
break: It terminates the current loop and resumes execution at the next statement.
continue: It returns the control initially of the while loop. It rejects the remaining statements in the current loop, and control is given back to the top.
else: it is supported by the for a loop. It is executed when the loop has iterated the list.
pass: It is used when the statement is required in the system without the need for any command.
Our trainer will take you through all loop control statements in Python with the help of practical implementation. It will help you understand the concepts better.
We have a complete playlist on Python. You can watch more videos from there to learn about Python from scratch.
💎 Get Access to Premium Videos and Live Streams: / @wscubetech
WsCube Tech is a leading Web, Mobile App & Digital Marketing company, and institute in India.
We help businesses of all sizes to build their online presence, grow their business, and reach new heights.
👉For Digital Marketing services (Brand Building, SEO, SMO, PPC, SEM, Content Writing), Web Development and App Development solutions, visit our website: www.wscubetech...
👉Want to learn new skills and improve existing ones with in-depth and practical sessions? Enroll in our advanced online courses now and make yourself job-ready: courses.wscube...
All the courses are job-oriented, up-to-date with the latest algorithms and modules, fully practical, and provide you hands-on projects.
👉 Want to learn and acquire skills in English? Visit WsCube Tech English channel: bit.ly/2M3oYOs
📞 For more info about the courses, call us: +91-7878985501, +91-9269698122
✅ CONNECT WITH THE FOUNDER (Mr. Kushagra Bhatia) -
👉 Instagram - / kushagrabhatiaofficial
👉 LinkedIn - / kushagra-bhatia
Connect with WsCube Tech on social media for the latest offers, promos, job vacancies, and much more:
► Subscribe: bit.ly/wscubech...
► Facebook: / wscubetech.india
► Twitter: / wscubetechindia
► Instagram: / wscubetechindia
► LinkedIn : / wscubetechindia
► KZbin: / wscubetechjodhpur
► Website: wscubetech.com
-------------------------------------| Thanks |--------------------------
#PythonLoops #PythonStatements #PythonTutorial

Пікірлер: 19
@Yash_Chavan
@Yash_Chavan Жыл бұрын
This is really appreciated sir, thank you for detailed explanation :)
@dhruvsharma9230
@dhruvsharma9230 2 жыл бұрын
for range me step lena bhul gaya tha pichli bar mere python ke yashwant kanetkar , par mast kam kar rae ho
@chandankumarsharma991
@chandankumarsharma991 2 жыл бұрын
Aaj maja aaya Sir
@abhishekanandkumar472
@abhishekanandkumar472 2 жыл бұрын
Thank u sir for understanding python like a game not a subject ..⚕️⚕️⚕️ Sir mera aapse ek niwedan ki hme Aur achhe achhe competitive question karwaye .... Sbse achha rahega harek topic se related behtrin question ka series bnaye ye mera aapse vinti hai sir taki hm aapke sath practice kr ske edhar udhr na bhtke ... Jb hme AAP padhate hai to mujhe bahut mja aata hai thora bhi load ya boring nai aata hai ..Aisa kisi aur se pdhne pr feeling nai aata unse padhte hai to mn krta mn ub jata hai... So please sir ek question series content laiye .....
@seasonz75
@seasonz75 Жыл бұрын
Thank you sir, for this valuable course training. While loop works great for Prime Number program as it solves number 2 as prime; but not for For Loop as we take range as 2, n hence input - 2 doesn't work..... I am a beginner and just got stuck wih this issue. Request if you can explain.
@imLOBO
@imLOBO Жыл бұрын
Very very good, full knowledgeable video
@rewatiraman2956
@rewatiraman2956 Жыл бұрын
it was a good tutoring model with details explained.
@sonu8714
@sonu8714 2 жыл бұрын
Sir data structure and algorithm course bhi lekr aayo
@seasonz75
@seasonz75 Жыл бұрын
Deep sir, I tried it this way....pls let me know its proper... var=0 for var in range (1,26): # input 25 times - regress testing n=int(input('Enter an Integer: ')) flag=True if (n==2): print('Prime number') elif n!=2: for i in range (2,n): if(n%i==0): flag = False print('Not prime number') break else: print ('Prime number')
@muzaffariqbalraja6464
@muzaffariqbalraja6464 Жыл бұрын
VERY NICE
@rockfighter9974
@rockfighter9974 Жыл бұрын
Nice video
@chandankumarsharma991
@chandankumarsharma991 2 жыл бұрын
Sir make a video error
@AK47-666
@AK47-666 7 күн бұрын
Tum bahut aage ja o gae jeevan may
@watchtv5812
@watchtv5812 Жыл бұрын
miss you sir
@seemasirsat9349
@seemasirsat9349 2 жыл бұрын
Please make a video insta hack
@Deepak-uh3zb
@Deepak-uh3zb 2 жыл бұрын
Sir ubuntu touch os oppo ka phone ma install kasa kara
@seemasirsat9349
@seemasirsat9349 2 жыл бұрын
How to hack insta ac
@lalitsingh3441
@lalitsingh3441 2 жыл бұрын
Sir How to call someone with private number using kali linux Please make a video please
@NadeemRajput186
@NadeemRajput186 2 жыл бұрын
Sir ap Mera gmail account recovery kerdo
Nested For Loop in Python - Explained | Python Loop Tutorial.
23:00
Win This Dodgeball Game or DIE…
00:36
Alan Chikin Chow
Рет қаралды 24 МЛН
Players vs Corner Flags 🤯
00:28
LE FOOT EN VIDÉO
Рет қаралды 51 МЛН
Expected Ending?
00:45
ISSEI / いっせい
Рет қаралды 8 МЛН
Новый уровень твоей сосиски
00:33
Кушать Хочу
Рет қаралды 4,5 МЛН
Python literals - What are literals in Python | Python in Hindi
19:38
Python 101: Learn the 5 Must-Know Concepts
20:00
Tech With Tim
Рет қаралды 1,2 МЛН
#20 Python Tutorial for Beginners | While Loop in Python
12:43
Telusko
Рет қаралды 1,6 МЛН
Solve any Star Pattern program in Python
18:44
Simply Coding
Рет қаралды 957 М.
Win This Dodgeball Game or DIE…
00:36
Alan Chikin Chow
Рет қаралды 24 МЛН