#22.1 Python Tutorial for Beginners | Break vs Continue vs Pass in Python part 2

  Рет қаралды 486,804

Telusko

Telusko

Күн бұрын

Пікірлер: 226
@susmitshaw3617
@susmitshaw3617 4 жыл бұрын
East or West Navin Sir is the Best !!!
@nishuahuja1688
@nishuahuja1688 4 жыл бұрын
Yes
@Jose-qk3di
@Jose-qk3di 3 жыл бұрын
I think we are Xd
@ajinkyaanap9701
@ajinkyaanap9701 Жыл бұрын
Lawde north and south me kya Tera baap hai kya
@3lpme
@3lpme 5 ай бұрын
If its paid promotion let me know i need promoters
@studytime5807
@studytime5807 5 жыл бұрын
Best teacher in Computer Science i've ever seen.
@m.movsar
@m.movsar 4 жыл бұрын
Now it's clear. Thanks a lot! The best channel
@senthilnathanr609
@senthilnathanr609 4 жыл бұрын
Iam a normal high school computer science student who can understand the programming language from a programmer who taught from scratch very simply with needed contents......we love you sir........
@raodyc
@raodyc 4 жыл бұрын
Pass = skips block of code( function, class etc) Continue= skips 1 step/iteration during loop Break= jumps out of the function/loop
@anandhisiva93
@anandhisiva93 4 жыл бұрын
pass is used as a placeholder for writing codes later within a function,class, etc.
@hillaryouma2753
@hillaryouma2753 4 жыл бұрын
Am really enjoying learning python.Thumps up Navin.This is Hillary all the way from Kenya!
@RahulGupta-ly2uu
@RahulGupta-ly2uu 6 жыл бұрын
examples for how and when to use this keywords are good.which are not given in the books. thank you sir
@danielkamau8436
@danielkamau8436 4 жыл бұрын
Waoh, u just answered my stuck.....was literally challenged, can now easily use the 3 words comfortably
@mnk4utube
@mnk4utube 4 жыл бұрын
This Video, Sir read the mind of their students ahead and presented again. Cleared and avoided confusions, especially between continue and pass . :)
@trickytechtamilan9985
@trickytechtamilan9985 4 жыл бұрын
You are my inspiration sir really liked your video very much and I'm understanding every step clearly thank you very much sir
@gcele-4133
@gcele-4133 4 жыл бұрын
we just loved it sir .no word to say,i am happy
@muskansharma7839
@muskansharma7839 4 жыл бұрын
Sir, you make us fall in love with python
@fighterf-xkevo7212
@fighterf-xkevo7212 4 жыл бұрын
Really awesome and easier to understand Got the whole concept in my brain in 5 minutes which I couldn't in my actual class of 30 minutes.👍👍
@pratikkumar4148
@pratikkumar4148 4 жыл бұрын
You made our concept clear. You are better than all of online and offline courses available Thank you sir for making it free
@vijeysrini
@vijeysrini 3 жыл бұрын
Appreciate your dedication in answering to people's query and helping them out.
@vilasbs
@vilasbs 3 жыл бұрын
I am 14 years old I love python I dint know where to start I started in many websites then I saw some in KZbin then I saw your channel and I am loving it
@deva2007
@deva2007 Жыл бұрын
u just understood a student mindset u know where the student is getting confused and explained it again love u sir
@easydatascience2508
@easydatascience2508 Жыл бұрын
You can see mine too. The channel has both a Python crash course tutorial playlist, and a R beginning course playlist. All the source files can be found in the description of the video.
@sagarpaul07
@sagarpaul07 4 жыл бұрын
@Navin sir this 22.1 it really cleared my doubts.. Actually i cannot understand the previous video thank for clearing the concept
@techinnovation8922
@techinnovation8922 4 жыл бұрын
Hi Sir, thank you so much for your effort for making a tutorial .. I'm done watching Django and I learn a lot and now I'm starting python.
@praveenthuyamani101
@praveenthuyamani101 5 жыл бұрын
Thank u Navin now i got cleared from pass and continue...
@Rajadahana
@Rajadahana 2 жыл бұрын
I have prepared 3 sets of codes to understand break, continue and pass. Copy the whole thing paste, run and enjoy!!! # This one is to understand - Break for i in range(5): if i ==3: print("From here it goes out of the loop") break print("Hello", i) print("Did you understand how 'break' works?") # This one is to understand - Continue print(' ') for i in range(5): if i ==3: print("From here it goes back to the beginning of the loop") continue print("Hello", i) print("Did you understand how 'continue' works?") # This one is to understand - Pass print(' ') for i in range(5): if i ==3: print("This is the missing 3") pass else: print("Hello", i) print("Did you understand how 'pass' works?")
@PrasanNavi
@PrasanNavi Жыл бұрын
You content is just too too good. Hats off to your for such great work.
@ASMR_Archives2
@ASMR_Archives2 5 жыл бұрын
for i in range(11): if i == 5: pass else: print("Hello",i) Pass is also used like this.
@drdevilgettorody5711
@drdevilgettorody5711 4 жыл бұрын
continue does the same thing too, not convinced with the pass part..
@raguldeelip5078
@raguldeelip5078 4 жыл бұрын
What is o/p!?
@devips5102
@devips5102 6 жыл бұрын
This is perfect and my confusion is cleared for pass statement. Thanks Naveen
@deeshantgupta3629
@deeshantgupta3629 4 жыл бұрын
Thank u sir Ans2 C = ['O', 'P', 'Q', 'R'] D = ['A', 'B', 'C', 'D'] for i in range(4): C[i] = D[i] for j in C: print(j, end='') print() Ans 1 for i in range(4): for j in range(i+1, 5): print(j, end='') print()
@isaiahtrywelljatula
@isaiahtrywelljatula 8 ай бұрын
Navin's turtorial are easy to follow, they are truly designed specifically for beginners. thanks for making easing my studies in programming
@Harsha.108
@Harsha.108 Жыл бұрын
SIR🙏🙏🙏🙏 for i in range(1,21): if i%2==0: pass else: print(i) AND for i in range(1,21): if i%2==0: continue else: print(i) ARE SAME...................
@harshwardhansingh617
@harshwardhansingh617 4 жыл бұрын
Best ever teacher!
@leijit8648
@leijit8648 4 жыл бұрын
Fibonacci x = 1 y = 1 while x
@pranjalshahi1791
@pranjalshahi1791 4 жыл бұрын
sir may you please tell us , from where we should practice questions so as to get our hands on python .
@khajakhaja3
@khajakhaja3 4 жыл бұрын
just GOOGLE Bro, u will find a lot
@amarpatil9577
@amarpatil9577 4 жыл бұрын
Well explained in different view
@shaleensudhakar8383
@shaleensudhakar8383 4 жыл бұрын
Easy way to understand that continue will immediately pass the loop to next counter while pass still try to do perform next statement if available.
@abhilashk2534
@abhilashk2534 3 жыл бұрын
To satisfied any condition and execute the code we use continue And if you don't have anything to devlop but you would to mention any block for future use, you can use pass to keep empty block in the code
@chandandutta2707
@chandandutta2707 3 жыл бұрын
Pls make some lec videos on how to make gui panels in python. Your videos are awesome.
@606_anuhyakanikicherla5
@606_anuhyakanikicherla5 3 жыл бұрын
Yaa I want another video on pass 🙏
@ashishrautela9145
@ashishrautela9145 3 жыл бұрын
Sir your teaching skills is so fantastic and accurate but sir can you make a video on all program of phython please
@simrankaur-yu6rh
@simrankaur-yu6rh 4 жыл бұрын
Thnx Mr navin reddy sir u deserve more success in ur life may god bless you ☺️☺️👍✨
@pratapkhandekar8322
@pratapkhandekar8322 5 жыл бұрын
Everything was clear before But thanks for making this video...😊😊😊😊
@J.S.W0822
@J.S.W0822 Жыл бұрын
Clarified my doubts thankyou so much sir☺️
@zakiasmaa6834
@zakiasmaa6834 4 ай бұрын
Best teacher i've ever seen.
@kibreabhaileselassie5136
@kibreabhaileselassie5136 6 жыл бұрын
When you will start with "Machine Learning"?pls
@jethalalgada3908
@jethalalgada3908 5 жыл бұрын
That's extremely advanced i guess
@MajorVenkataKrishnaMadem
@MajorVenkataKrishnaMadem 2 жыл бұрын
Clear cut explanation ✌✌☺👏
@slonbeskonechen8310
@slonbeskonechen8310 3 жыл бұрын
Simply and clearly! Thank you!
@sunilsuth
@sunilsuth 6 жыл бұрын
example of continue with increment operator
@kkgbapi6583
@kkgbapi6583 4 жыл бұрын
Sir u r a best teacher .
@laylajameel1836
@laylajameel1836 4 жыл бұрын
Thank you for clearing the information, I was confused before
@RitikPatel-vs9ik
@RitikPatel-vs9ik 4 жыл бұрын
sir apke video abhibhi hamare liye vardan k barabar hai thank you so so much sir .
@s.sidharthsankar198
@s.sidharthsankar198 2 жыл бұрын
to print first 50 fibonacci number : num = int (input("enter the range:")) num1 = 0 num2 = 1 print(num1) print(num2) for i in range (num): num3 = num1 + num2 num1 = num2 num2 = num3 print (num3)
@TheMayank1000
@TheMayank1000 6 жыл бұрын
Hi Navin thanks for python series. Understood the concept of Continue and Break but still confuse with "Pass"
@hackerxxspacex6935
@hackerxxspacex6935 4 жыл бұрын
Dude basically pass is just to skip a block, like you want to create a function but you don't know what to do with right now, so you just declare it, and leave it, now when you will execute the program it might give you some sort of error ( depending on what you have done) , so what the pass does is, it basically tells python to overlook that error... As you would be doing something about it in the future or you might remove it but for the time being just pass ( pun intended lol)
@kirubhaharkannan5461
@kirubhaharkannan5461 4 жыл бұрын
Diff b/w Continue and Pass: Continue skip the loop , will not executes the below statements and goes to top of loop, where pass executes the remaining logic. Example below. Continue : for i in range(11): if (i%2==0): continue print( i , " is odd") ---------------------------------------- 1 is odd 3 is odd 5 is odd 7 is odd 9 is odd Pass : for i in range(11): if (i%2==0): pass print( i , " is an number") --------------------------------------------- 0 is an number 1 is an number 2 is an number 3 is an number 4 is an number 5 is an number 6 is an number 7 is an number 8 is an number 9 is an number 10 is an number
@nikhatfatima9203
@nikhatfatima9203 4 жыл бұрын
Sir you are so good .. keep continuing
@HeWhoShalNotBeNamed_
@HeWhoShalNotBeNamed_ 5 жыл бұрын
So basically, continue skips the present iteration and moves on to next iteration , break breaks the program and won't execute any further of it and pass will basically skip that block of code in which it has been implemented.
@saifsiddiqui8017
@saifsiddiqui8017 3 жыл бұрын
Thanks for sharing your skills thanks a lot sir
@krishnagarg3443
@krishnagarg3443 5 жыл бұрын
Nice explanation 😄😊
@omkartaur3887
@omkartaur3887 5 жыл бұрын
Very good approach of teaching python. Can you please make series on android applications using python like from scratch to complete app ?
@Alberta_Farmer
@Alberta_Farmer 2 жыл бұрын
University of Telusko!!!
@kkartheek4378
@kkartheek4378 4 жыл бұрын
print ("Hero Honda Splendor .Our Navin Sir Is Thunder.") print("East or West Navin Sir is the Best !!!")
@AsifAnsar-yj2cy
@AsifAnsar-yj2cy Ай бұрын
# to check whether the number is prime or not num= int(input("enter the number :")) divisor_count = 0 # start a diviser count from 0 for i in range (1,num+1): if num % i == 0: divisor_count += 1 # INCREMENT THE COUNT IF i IS A DIVISOR # If the Number has exactly two diviser (1 and itself ), it's prime if divisor_count == 2: print(f"{num} is a prime number.") else: print(f"{num} is not a prime number.")
@chessbd
@chessbd Жыл бұрын
geat clarification with ease! thanks again
@easydatascience2508
@easydatascience2508 Жыл бұрын
YOu can see mine too. Step by step Python crash course playlist covers most of the fundamentals, with downloadable source files. And R playlist in the channe to.
@Codemowaa
@Codemowaa 8 ай бұрын
Anna burra paadu explaination isthunaaru .... ❤❤❤
@nipunfernando6689
@nipunfernando6689 4 жыл бұрын
You are no human, incredible Alien......!!!!!!!!!!!
@placeholder5982
@placeholder5982 5 жыл бұрын
Continue ignores all the statements which follow the continue statement and are inside the loop and jumps to next iteration , while pass doesn't directly jump to the next iteration, it jumps to the statement which immediately follows the pass statement and is inside the loop.
@bhuvaneshkumarsrivastava906
@bhuvaneshkumarsrivastava906 5 жыл бұрын
Hi Sir, great videos from scratch. I was wondering by when you will start with Machine Learning in Python and show us the use of famous python libraries like: pandas, numpy, sckit learn and nltk ?
@ItsMe-sx9ck
@ItsMe-sx9ck 3 жыл бұрын
Thanks, now it's clear.
@khajakhaja3
@khajakhaja3 4 жыл бұрын
Dear friends better you write a code as below and just change break, continue and pass and check the results urself, i was thinking continue and pass both are same but NO both are different, ex: code you to practice find below for i in range (100): print(i) if i>5: pass else: print ("hello") print("Dont print in break Continue & print in pass") print("bye")
@prashanthimekala3018
@prashanthimekala3018 9 ай бұрын
Thanq so much sir.... seriously am the one who is in that confusion
@upendharvanam4247
@upendharvanam4247 4 жыл бұрын
kinda,meedha oopu maa NaWIN sir thopu................
@Shubham-fk4is
@Shubham-fk4is 5 жыл бұрын
Yes sir, it helps a lot thank you sir
@prakashsubramanian499
@prakashsubramanian499 6 жыл бұрын
This video is more clear ! Thanks :)
@flamboyantperson5936
@flamboyantperson5936 6 жыл бұрын
Good one. We understood in this video. Thanks.
@chinmaydas4053
@chinmaydas4053 6 жыл бұрын
Good topics... 🙏..
@MasterCoder99
@MasterCoder99 3 жыл бұрын
Thanks for the excellent content!
@priyanshugupta7591
@priyanshugupta7591 4 жыл бұрын
it was more than enough to solve my doubt : )
@arshamcfr3236
@arshamcfr3236 2 жыл бұрын
thank you so much it really helped me to understand the "Pass"❤
@mayanegi8329
@mayanegi8329 Жыл бұрын
Thanks TELUSKO for this.......
@krishika_shetty4388
@krishika_shetty4388 2 жыл бұрын
But little bit not understand pass statement
@AamirKhan-id4uu
@AamirKhan-id4uu 3 жыл бұрын
Hello sir, May I know where are the assignement questions? For practicing?
@muvvadinesh
@muvvadinesh 3 жыл бұрын
reddy garu super clarification
@sarang8207
@sarang8207 4 жыл бұрын
This dude single handedly putting udemy out of business
@girumg9885
@girumg9885 2 жыл бұрын
This one is simple and clear!😎
@Neurosociologist
@Neurosociologist 4 жыл бұрын
Helpful. Thank you!
@existingstars3665
@existingstars3665 4 жыл бұрын
Please teach about graphics and animation course also sir
@swethabalakrishna9596
@swethabalakrishna9596 4 жыл бұрын
Thank you so much for the video , Its quiet informative , But when tried practice a lot of programs . there are few error , could you please help
@VijayKumar-ng2li
@VijayKumar-ng2li 5 жыл бұрын
Plz make video about nesting while or for loop
@satyaprakashsahoo7772
@satyaprakashsahoo7772 5 жыл бұрын
Sir plz make just a video on python project.... Where we could learn multi concepts... Plz plz
@gulimikeerthi9137
@gulimikeerthi9137 3 жыл бұрын
Thank u sir🤗
@learn_with_esb
@learn_with_esb 5 жыл бұрын
hi sir in c language we have format of for loop as For(initiation,condition,increment/decrement) can we use same in the python
@abhishekborde1219
@abhishekborde1219 3 жыл бұрын
Continue : when the condition arises that it is need to move to next iteration instead reading further code. Break: When it is need to terminate the code when desire output achieved. Most important and u missed it both videos. Pass: When it is need to read further code as well instead of current block is necessary then we will simply pass it to nxt block. But in continue it will start it again and in break it will terminate the block. In pass it will give importance to next block when particular condition arises. That’s it. Poor examples.
@roshanichincholkar4884
@roshanichincholkar4884 5 жыл бұрын
hey please make video for continue and break using while loop
@maheshwarareddy8629
@maheshwarareddy8629 4 жыл бұрын
thank u sir bt still i want some clarity on these keyword.....basically my question is if these keyword was used in inner loops then what will happen......?
@francisabuto7242
@francisabuto7242 3 ай бұрын
hello Navin, thanks for this fun course. Am having a problem in launching my pycharm app. it doesn't split into two as the one you are using in your illustrantions.
@rajeevsinghrajput6752
@rajeevsinghrajput6752 6 жыл бұрын
thanks sir sir, please talk about space problems (that means how much take space according to programme).
@sainathreddygangireddy6554
@sainathreddygangireddy6554 5 жыл бұрын
Its called indentation... Usually we can 4 spaces in real time..
@HemanthKumar-pe2lc
@HemanthKumar-pe2lc 3 жыл бұрын
Can we use continue in a while loop ? I tried but was not able to get desired output because I'm facing problem in the updation part. So , is there any way of using continue?
@navidulislam2648
@navidulislam2648 4 жыл бұрын
You are Too good sir
@guyshello-q5s
@guyshello-q5s Жыл бұрын
very great video
@bodakalyansingh3932
@bodakalyansingh3932 3 жыл бұрын
sir may I know if I want to print only even output I don't want to print odd numbers how will you do that
@tharunkumar3135
@tharunkumar3135 3 жыл бұрын
Can you tell u pass concept again
@sakshibansal3155
@sakshibansal3155 5 жыл бұрын
Thank u 😊
@bijinmabraham3887
@bijinmabraham3887 5 жыл бұрын
Hi, So this pass and continue are behaving as same inside loop .right???
@ramkrishna1086
@ramkrishna1086 4 жыл бұрын
I think yeah ..
@reddie708
@reddie708 2 жыл бұрын
Please make an a video about python road map day by day
@shashikumarbugide4816
@shashikumarbugide4816 2 жыл бұрын
Hi Naveen, I hope you are doing well. I am very glad to say that, the videos are fabulous and helpful to those who are aspiring to learn python. I have a query ,that "continue" keyword giving error during while loop. The code is: x=1 while x
@saikumarreddy2288
@saikumarreddy2288 2 жыл бұрын
yeah you have to use x += 1 on above continue because increment is important when we use continue in while loop,for break no need to use increment
@protectinggaming
@protectinggaming 9 ай бұрын
Try this code: x = 1 while x
#23 Python Tutorial for Beginners | Printing Patterns in Python
7:56
Правильный подход к детям
00:18
Beatrise
Рет қаралды 10 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,2 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 59 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 29 МЛН
#32 Python Tutorial for Beginners | Functions in Python
11:13
Telusko
Рет қаралды 1 МЛН
#63 Python Tutorial for Beginners | Exception Handling
15:59
Telusko
Рет қаралды 536 М.
Python - break vs continue vs pass
5:34
PyMoondra
Рет қаралды 59 М.
#53 Python Tutorial for Beginners | Types of Methods
11:38
Telusko
Рет қаралды 442 М.
Learn Python OOP in under 20 Minutes
18:32
Indently
Рет қаралды 141 М.
#26 Python Tutorial for Beginners | Array in Python
15:57
Telusko
Рет қаралды 1,3 МЛН
5 Useful Dunder Methods In Python
16:10
Indently
Рет қаралды 65 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 10 МЛН