#20 Python Tutorial for Beginners | While Loop in Python

  Рет қаралды 1,693,700

Telusko

Telusko

Күн бұрын

Пікірлер: 2 200
@JoeyFlowers
@JoeyFlowers 6 жыл бұрын
"it's not difficult, it's just unfamiliar" I absolutely love this quote and plan on stealing it for so many things. :) Also I'll recommend this playlist and give you credit
@damansharma6737
@damansharma6737 5 жыл бұрын
seriously dude ..i just love that quote and no doubt he is the best teacher to learn programming from.
@anusmitasamanta2608
@anusmitasamanta2608 5 жыл бұрын
@@damansharma6737 you are right
@gatroeboy
@gatroeboy 5 жыл бұрын
Joey flowers do you have entrepeneur in your bio by any chance?
@sanjaykumar-wh9ej
@sanjaykumar-wh9ej 5 жыл бұрын
I scroll down for writing the same comment but you have this comment , hence I liked your comment
@motamn26
@motamn26 3 жыл бұрын
That's Klawat كلاوات
@Chinarkashmirmusic
@Chinarkashmirmusic 4 жыл бұрын
The moment you said its not hard its unfamiliar . it boosted me to the sky . Thank you ❤
@nhnsaru
@nhnsaru 3 жыл бұрын
Thanks for the Quiz. Learnt and and or with If condition. *Q - Print numbers from 1-100 skipping the numbers divisible by 3 & 5* i=1 while i
@AdityaPandey-ow2yu
@AdityaPandey-ow2yu 4 жыл бұрын
Thx a lot i finally understood. I was stuck in this thing for days until I discovered your video.
@duniya_ka_papa32
@duniya_ka_papa32 4 жыл бұрын
Which course u was watching??? Means of which KZbinr
@flossdojo5151
@flossdojo5151 3 жыл бұрын
@@duniya_ka_papa32 I am watching Corey shafer Or something like that
@mahadevprasadpal7829
@mahadevprasadpal7829 3 жыл бұрын
So no-one is here after 3 years 😂 except me and still this video is a great solution 😀👍👍
@HarmeetSingh-bk1lp
@HarmeetSingh-bk1lp 3 жыл бұрын
I'm here🤣🤣
@arkaghoshdastider6659
@arkaghoshdastider6659 3 жыл бұрын
Am also here
@Mr9221711291
@Mr9221711291 3 жыл бұрын
You are not alone here 😀
@prezronald3715
@prezronald3715 3 жыл бұрын
I’m here😂
@wirahprince1279
@wirahprince1279 3 жыл бұрын
I'm
@MK-yl7jl
@MK-yl7jl 5 жыл бұрын
Dude, Debugging saved my life. I wasn't using it until I watched your videos and now I can see how useful it is. Thank you so much
@azif1858
@azif1858 4 жыл бұрын
Crct bro
@ashish2099
@ashish2099 4 жыл бұрын
Yeah bro, exactly my thoughts
@dinusindhu5850
@dinusindhu5850 4 жыл бұрын
if i use debug its debuging venv how to resolve it ?
@arathip3699
@arathip3699 3 жыл бұрын
Me too
@JEnriquez
@JEnriquez 3 жыл бұрын
Anyone know how to use debugging function in the same way that he does on VSCode ?
@ashwingunasekaran7272
@ashwingunasekaran7272 5 жыл бұрын
Hello Telusko , I am studying in one of the best university for data science and they gave introduction of python loop which i found it difficult to understand even asking them to explain twice but your 15 mins video made it very simple . Really your amazing and thank you so much .
@raorao7329
@raorao7329 Жыл бұрын
In which university had you studied?
@tutohowto5345
@tutohowto5345 5 жыл бұрын
👌👌👌 "it's not difficult, it's just unfamiliar"
@gautamgoyal2606
@gautamgoyal2606 4 жыл бұрын
yaa
@rameshbcom7646
@rameshbcom7646 4 жыл бұрын
I love this channel... Edureka and Telusko are 2 channels doing more for the students than the education system itself! Keep growing Sir
@HayKay_
@HayKay_ 3 жыл бұрын
"It is not difficult, it is just unfamiliar". This is the quote of the year. Learning any new thing can be viewed from this angle. Thank you. 😊
@saranyakandaswaminataraj3980
@saranyakandaswaminataraj3980 5 жыл бұрын
Python tutorial is very good and you explained it in a detailed step by step manner. Thank you sir. 1st question: i=1 while i
@standman007
@standman007 5 жыл бұрын
Why i=i+1 twice?
@divkansara4513
@divkansara4513 4 жыл бұрын
Thank u
@AcuitSrishaGr
@AcuitSrishaGr 3 жыл бұрын
@@standman007 cause if condition fails it doesn't do anything
@HayKay_
@HayKay_ 3 жыл бұрын
Thanks for sharing this. I didn't know how to exclude numbers that are divisible by 3 and 5 from the code.
@rajendram867
@rajendram867 3 жыл бұрын
a = 1 while a < 101: if a % 3 and a % 5 != 0: print(a) a = a + 1 thank you for the logic. instead of that we can directly assign the increment under the while statement. Please correct me anyone, if I'm wrong
@fathimaarafa2585
@fathimaarafa2585 6 жыл бұрын
to be honest, you are really a great teacher and a wonderful programmer
@harshit3985
@harshit3985 2 жыл бұрын
Idk why people say they are not able to understand python lectures in English. He taught in such a nice manner . You are an amazing teacher , hats off to you
@Prashant-gj8hl
@Prashant-gj8hl 11 ай бұрын
Any one here in 2024..??
@NicaKasende
@NicaKasende 9 ай бұрын
Uni got me here 😢
@sncreation.mahi.1728
@sncreation.mahi.1728 8 ай бұрын
Yes
@webbrain19
@webbrain19 8 ай бұрын
Definitely bro.
@AM-Boluke1210
@AM-Boluke1210 8 ай бұрын
April 1 2024 😅
@Habonzgold
@Habonzgold 8 ай бұрын
@@AM-Boluke1210you’re not alone brother , let go get it ✊🤞
@a.m.an-nafeeal-affao8710
@a.m.an-nafeeal-affao8710 9 ай бұрын
"It's not difficult, it's just unfamiliar". Totally fallen in love with this quote, bro!! You truly are the best!! Thank you so much!! Love from Bangladesh!!
@bhuvanspahuja2008
@bhuvanspahuja2008 5 жыл бұрын
For Printing values from 1 to 100 excluding numbers divisible by 3 or 5 i=1 for i in range (1,101): if(i%3 ==0 or i%5==0): continue else: print(i) For Printing the '#' pattern i=1 while i
@priyanshkumar17
@priyanshkumar17 Жыл бұрын
Thanks for the first !!
@melwinlal8803
@melwinlal8803 Жыл бұрын
a=1 while a
@kimsah2112
@kimsah2112 Жыл бұрын
​@@melwinlal8803 This never works
@melwinlal8803
@melwinlal8803 Жыл бұрын
@@kimsah2112 it will try it bro
@palaniappanarunachalam396
@palaniappanarunachalam396 8 ай бұрын
Use or instead of and ,I know its late still..
@nagarajmpn
@nagarajmpn 5 жыл бұрын
The way of teaching and presentation are simply awesome! You are one of my inspiration. Please take a bow from me! Naveen
@abhi36292
@abhi36292 5 жыл бұрын
downloaded many python courses from different sites , couldn't grasp them very well,this helped thanks sir subscribed :)
@mustakimkhan469
@mustakimkhan469 4 жыл бұрын
Solution Q1) Print the numbers from 1-100 skipping the numbers divisible by 3 & 5 a=1 while a
@srinathasri7204
@srinathasri7204 2 жыл бұрын
it is considering or operaator format bro, wrong code
@tamilselvan_g0448
@tamilselvan_g0448 2 жыл бұрын
@@srinathasri7204 u will write here the code
@farahbaliki4680
@farahbaliki4680 Жыл бұрын
why didn't you use "or" ?
@playshub5398
@playshub5398 Жыл бұрын
the code is correct ! = not the code is saying if a%3 and a%5 is NOT equal to 0 print(a) if you dont have to use and ! you can use or in the following way i = 1 while i
@farahbaliki4680
@farahbaliki4680 Жыл бұрын
@@playshub5398 I agree but I just don't get why would he use (if a%3 and a%5) shouldn't we use or to include every number divisible by 3 or 5
@adnanbinalam2539
@adnanbinalam2539 4 жыл бұрын
this Indian guy make me in another world I have been searched this while loop but I don't get any clear explanation but when I see his tutorial then I just see one time and I remember everything LOTS OF LOVE FROM BANGLADESH. Go ahead, sir!!!!!!!!
@venkatakumaresan2711
@venkatakumaresan2711 5 жыл бұрын
I have never seen in my whole life, a person teaching better than this for if else,while loop explanation...Kudos bro for great job!!
@Josephmargay
@Josephmargay 5 жыл бұрын
Code for question 2: a = 1 while a
@tirthpatel7388
@tirthpatel7388 4 жыл бұрын
@Joseph Margay What Is The Use Of 5*
@sayanibagchi4234
@sayanibagchi4234 4 жыл бұрын
@@tirthpatel7388 *5 is used to print '#' 5 times on the same line
@gopikrish5997
@gopikrish5997 4 жыл бұрын
@joseph margay i think it will print like #####, but our output is like # # # # #. Do u know how to resolve this issue. I suggest '# ' one space between the qoute. Is that correct?
@bablukumarpatel1962
@bablukumarpatel1962 2 жыл бұрын
@@gopikrish5997 i = 1 while i
@hustler2001
@hustler2001 2 жыл бұрын
@@bablukumarpatel1962 what thqi print() at the end of code is used for...is it to print the outer loop in New line each time
@nalinabk4764
@nalinabk4764 3 жыл бұрын
I must say , being a new person to learn programming language, i am having so much of interest and fun for watching your videos, the way you are teaching is marvelous. Thank you so much for making easy task for us.
@aarushdeshta7979
@aarushdeshta7979 4 жыл бұрын
Q.2. i = 1 while i
@kawithmakarunananda3738
@kawithmakarunananda3738 Жыл бұрын
Thank you thank youuuuuuuu
@stressfree_art
@stressfree_art 4 жыл бұрын
After searching so many channels I found your channel for pythod .. Now my search end here .. I must say ur python playlist is best on KZbin
@shaikatmajumder3156
@shaikatmajumder3156 5 жыл бұрын
i dont generally comment in youtube videos even if i like them. But Sir your videos are truly a class apart. I mean its so simple and precise! Got just exactly what i needed. I hope you keep on releasing more videos.
@sharukhmemon9841
@sharukhmemon9841 4 жыл бұрын
I was finding a channel for Python learning from basics and then I got this channel (y). your way of teaching is superb. Thank you soo much for these videos.
@vijayaragavanselvaraj8087
@vijayaragavanselvaraj8087 4 жыл бұрын
Code for # pattern: r=int(input("Enter the number of Row(s): ")) c=int(input("Enter the number of Column(s): ")) i=1 while i
@playshub5398
@playshub5398 Жыл бұрын
we can make it for any symbol: r = int(input("Enter the No of rows: ")) c = int(input("Enter the No of Columns: ")) s = input("Enter the Symbol for the pattern: ") i=1 while i
@saikumar96
@saikumar96 Жыл бұрын
You can use this for the spaces r = int(input("Enter the number of Row(s): ")) c = int(input("Enter the number of Column(s): ")) s = input("Enter the Symbol for the pattern: ") i = 1 while i
@maresaedwards8471
@maresaedwards8471 3 жыл бұрын
Thank you so much for putting this together and walking through every step! This is so helpful for learning and really coming to understand how loops work in a programming mindset. I'm going to rewatch it again and again until I memorize this ha!
@piyushpratap3959
@piyushpratap3959 5 жыл бұрын
Print('Tekusko '*1000) Best way
@veneranurdin8410
@veneranurdin8410 6 жыл бұрын
Answer to 2nd task: a=1 while a
@damansharma6737
@damansharma6737 5 жыл бұрын
lol
@avert_
@avert_ 5 жыл бұрын
nice!
@dhruvdeora9781
@dhruvdeora9781 5 жыл бұрын
Cheated😂😂😂
@yourname5519
@yourname5519 5 жыл бұрын
Lol
@kaptchandrapriya4556
@kaptchandrapriya4556 5 жыл бұрын
X=‘#####’ For i in x: Print(x)
@janamshah190
@janamshah190 4 жыл бұрын
for x in range(1,101): If x%3!=0 and x%5!=0: print(x)
@evo-star7850
@evo-star7850 3 жыл бұрын
But it have to be in while loop, he haven't taught for loop till now
@harieluru7612
@harieluru7612 3 жыл бұрын
@@evo-star7850 a=1 while a
@Tsr2412
@Tsr2412 2 жыл бұрын
is it "for loop" ? But it has not been taught yet ! may be in next video
@JustJordann_
@JustJordann_ 3 ай бұрын
I absolutely love how he teaches you while making mistakes on purpose,then correct the mistake while explaining it as simple as possible,the teaching effectiveness is just so up there. Thank you I needed something like this 😆
@abdulmateen7486
@abdulmateen7486 10 ай бұрын
This is not difficult, it is unfamiliar.. Mind blowing quote. Hats off to your sir. This quote and your teaching has altered by approach to learn. Great..
@creater4u649
@creater4u649 6 жыл бұрын
Prog:1- i=1 while i
@dabloosinghindia3257
@dabloosinghindia3257 6 жыл бұрын
prog:2 syntaxError: invalid character in identifier
@losttraveller_tales
@losttraveller_tales 5 жыл бұрын
Try this, i got output using your code too i=1 while i
@SoumyadipDey1996
@SoumyadipDey1996 5 жыл бұрын
@@losttraveller_tales i=1 j=1 while i
@damansharma6737
@damansharma6737 5 жыл бұрын
best teacher on youtube..i will surely suggest this playlist to everyone.
@ananyamukherjee7601
@ananyamukherjee7601 2 жыл бұрын
I was not able to understand this concept and found myself as a fresher to this concept, I want to say thank you for making these simple videos so as to make it more "familiar" and "clear" to us and that too in an intresting way🥰
@prashantsaraswat1130
@prashantsaraswat1130 4 жыл бұрын
super sir ! i was taught while loop in C in class 11th, 30 years back, the looping now u have explained is marvelous ! Great ! God Bless You !
@khajakhaja3
@khajakhaja3 4 жыл бұрын
1) Write Tables from 1 to 20 i=1 while i
@invincibleHunter
@invincibleHunter 3 жыл бұрын
Thank u, but the i should less or equal to 2
@sandhyarajput1642
@sandhyarajput1642 2 жыл бұрын
The value get complete square
@prasanthkumar4159
@prasanthkumar4159 2 жыл бұрын
Hello bro ur num pls
@jeagerist007
@jeagerist007 Жыл бұрын
Thanks❤
@chetana_pd
@chetana_pd 5 жыл бұрын
Code of question 1: - a=1 while a
@rsambhuvlogs
@rsambhuvlogs 5 жыл бұрын
i = 0 while i
@shreenivaschavan6005
@shreenivaschavan6005 5 жыл бұрын
Use or instead of and
@playshub5398
@playshub5398 Жыл бұрын
Here is the answer to the first question(But taking everthing from user. The starting and ending point of the range we need to check and the two multiples which we need to remove) x = int(input("Enter the number where the range should start: ")) t = int(input("Enter the number where the range should end: ")) y = int(input("Enter the 1st number whose multiple you want to remove: ")) z = int(input("Enter the 2nd number whose multiple you want to remove: ")) b = x while b
@adeelab6141
@adeelab6141 6 жыл бұрын
If/Elif/Else statement... x = 1 while x
@AnkushKumar-qc1ny
@AnkushKumar-qc1ny 4 жыл бұрын
thanks for help brother
@mohammedsaad364
@mohammedsaad364 3 жыл бұрын
By any chance without using if else loop can we solve this
@matthewmorrison2071
@matthewmorrison2071 3 жыл бұрын
Nice job but you could simplify this down to: i = 1 while(i
@NabhPal17
@NabhPal17 Жыл бұрын
Dear@@mohammedsaad364 , Finally found such a comment. I have a similar doubt ; can the code (for displaying numbers from 1 to 100 skipping numbers divisible by 3 and 5) be programmed with using 'nested while' loop only..? But out of all the comments neither have I found help by Naveen Sir (Telusko's creator) nor a program that uses nested loop without the help of 'if', 'for', etc. just because of this मैं समझा भी नहीं और पापा (जो मदद दे रहे थे, जो मैंने इंकारकर दिया) से डाँट भी मिल गया। aaee dond no vai aaee dond unddarstaennd thayht aaee aym suppojzd tu kurrakcyt maaee mistaykhs, vvvaaaaiiii ddduuuu aaaeee ssstoppp maaaaeee ssseeeyyylllpppphhhh pppphhhhrruuuumm lllluuuurrrrrnnniiiinnnngggggghh...!!??? 😣😫😒😩😔😖😞😪
@adarshpatodi5300
@adarshpatodi5300 4 жыл бұрын
When everyone is trying to make things mug up, Naveen u stood out for explanation and your explanations are easy and best. Exceptionally best you are Naveen.
@yerranagatharun9856
@yerranagatharun9856 2 жыл бұрын
2Q ans: i=1 while i
@miiMarit207
@miiMarit207 Жыл бұрын
That was one of the best programming explanations. I wish everyone did tutorials like this.
@vanditsuryavanshi
@vanditsuryavanshi 4 жыл бұрын
This is not difficult....... This is just unfamiliar......🔥👍 Today's Motivation.
@Inshorts_pk
@Inshorts_pk 2 жыл бұрын
1. Code to print numbers from 1 to 100, skip numbers which are divisible by 3 and 5 i = 1 while i
@evar5831
@evar5831 3 жыл бұрын
Love how you speak so fast. Makes it easier to understand somehow. Easier to concentrate. Your instructions are also very clear. I understood perfectly.
@Vikash_Pokharel
@Vikash_Pokharel 2 жыл бұрын
Answer: (a) i = 1 while i < 101: if (i % 3) !=0 and (i % 5) !=0: print(i) i+=1 (b) i = 1 while i < 6: j = 1 while j < 6: print("#", end="") j+=1 i+=1 print()
@dipanshparmar3769
@dipanshparmar3769 5 жыл бұрын
Solution for 1st problem: for i in range(1,101): If i % 3 == 0 or i % 5 == 0: continue else: print(i)
@justsomeguywithoutamustach9978
@justsomeguywithoutamustach9978 4 жыл бұрын
we havent learned range yet..
@deepakkumarbehera7493
@deepakkumarbehera7493 4 жыл бұрын
Where is this program in this video
@Udayfah
@Udayfah 4 жыл бұрын
I tried the using the continue function but when I printed it, the program stopped at 2
@DauDoful
@DauDoful 4 жыл бұрын
we are studying for While, i think we should try use for while first. Here is my solution and i saw it worked: i=1 while i
@adityamore6012
@adityamore6012 4 жыл бұрын
@@DauDoful can you explain logic behind i am unable to understand if i%3==0 or i%5 ==0: print(end=" ")
@itsvinayyay
@itsvinayyay 4 жыл бұрын
On the first sight I found it difficult, but after practicing some more examples, What I found is that its not difficult Its just unfamiliar. But at last THANK YOU sir for all your efforts...
@riaz_ay
@riaz_ay 5 жыл бұрын
1.1st method i=1 while i
@poojapanday2610
@poojapanday2610 5 жыл бұрын
1st method even i had tried but its not working
@rajendram867
@rajendram867 3 жыл бұрын
Quiz Quesions 1) a = 1 while a < 101: if a % 3 and a % 5 != 0: print(a) a = a + 1 (here incremented for while) 2) type1 a = 1 while a < 5: print('# # # # #') a = a+1 type 2 a = 1 while a < 5: print('#', end=' ') b = 1 while b < 5: print('#', end=' ') b = b + 1 a = a + 1 print()
@gowthamchinna7385
@gowthamchinna7385 2 жыл бұрын
Hi
@AdvaitPisal
@AdvaitPisal Жыл бұрын
here are answers to the questions in the end of video (just in case if u want to check) 1. n = 1 while n 0: col = 5 while col > 0: print(' #',end='') col = col-1 row = row -1 print() thanks telusko for these questions at the end, really helps brush up concepts learnt!
@hrpasisia3033
@hrpasisia3033 3 жыл бұрын
1. Write a code to print all values from 1 to 100, Skip the number which are divisible by 3 or 5 i = 1 while i
@ravindarnayakbhukya2968
@ravindarnayakbhukya2968 2 жыл бұрын
In the first question, i = i + 1 not i = i + 3
@farahbaliki4680
@farahbaliki4680 Жыл бұрын
the first question is still not working with me, it outputs nothing
@aaryanrajsinha3342
@aaryanrajsinha3342 4 жыл бұрын
Finally I can Visualise the loops that how they work. Thanks a lot sir. Without your help I can't learn coding as i didn't visualise the code. I love it sir ❤️
@saishankar5005
@saishankar5005 2 жыл бұрын
What0is the meaning of console
@investorskaghar5000
@investorskaghar5000 5 жыл бұрын
i=1 while i
@technologytipsofficial367
@technologytipsofficial367 4 жыл бұрын
i=1 while i
@technologytipsofficial367
@technologytipsofficial367 4 жыл бұрын
Bro u must specify increment/decrement for while loop
@samuelbethanapudi3396
@samuelbethanapudi3396 4 жыл бұрын
@@technologytipsofficial367 no you're actually incrementing the value of i twice
@technologytipsofficial367
@technologytipsofficial367 4 жыл бұрын
@@samuelbethanapudi3396 but check my program and excute it bro output will come
@madvillain6547
@madvillain6547 4 жыл бұрын
@@technologytipsofficial367 it skipping one value
@alpha-zed6698
@alpha-zed6698 3 жыл бұрын
thanks! i just started learning python 2 days ago with the help of my cousin who knows python. He hasn't taught me loops yet... This video really helped.😁
@trader_akhilesh
@trader_akhilesh 4 жыл бұрын
a=int(input('enter 1st number')) b=int(input('ENTER 2ND NUMBER')) c=int(input('enter 3rd number')) if a>b: if a>c: print('a is greatest') elif(b>a): if b>c: print('b is greatest') else: print('c is greatest')
@sampaksasa3756
@sampaksasa3756 5 жыл бұрын
0:55 but why you want to print telusko 1000 times thats called an alien thing. XD just kidding sir you are the best teacher i have ever got on youtube : )
@pratap_divyansh8453
@pratap_divyansh8453 4 жыл бұрын
I really enjoyed his way of teaching and the way he explains the concept is just amazing 👍👍👍👍
@VinayKumar-hj2qi
@VinayKumar-hj2qi 6 жыл бұрын
i = 0 while i
@bishwajit667
@bishwajit667 6 жыл бұрын
initialize i from 1
@ItIsLittleBoy
@ItIsLittleBoy 6 жыл бұрын
Wrong
@ItIsLittleBoy
@ItIsLittleBoy 6 жыл бұрын
i=1 while i
@ashitshekhar847
@ashitshekhar847 4 жыл бұрын
A = 1 while A
@NikhilKumar-ue6pr
@NikhilKumar-ue6pr 4 жыл бұрын
python master really cant find sir like this on youtube no chance!!best
@songnetwork2215
@songnetwork2215 5 жыл бұрын
Hey you're familiar with this language but then also you're doing mistakes so we can understand this concept clearly THANKYOU SOOOOO MUCH👍💕👍💕
@ankurgupta288
@ankurgupta288 4 жыл бұрын
1 for i in range(1,101): if(i%3!=0) and (i%5!=0): print(i) 2 for i in range(4): print("#####")
@baigantv7372
@baigantv7372 4 жыл бұрын
bro u have to do by using while loop not FOR LOOP.
@hemanthsai8771
@hemanthsai8771 4 жыл бұрын
@@baigantv7372 I got that 2nd question answer : n = 1 while n
@baigantv7372
@baigantv7372 4 жыл бұрын
@@hemanthsai8771 mashah allah Congrats bro well done , you have to practice with several questions same loop, just by doing one dont skip, in google search while loop question etc.
@Siddharth153
@Siddharth153 4 жыл бұрын
invalid syntax
@just_a_living_being
@just_a_living_being 6 жыл бұрын
Thank you Sir : ) please give more questions Ans: 1. i = 1 while i
@thomaswayneillegitimateson6211
@thomaswayneillegitimateson6211 4 жыл бұрын
where didi you find these questions
@rajtrivedi5031
@rajtrivedi5031 4 жыл бұрын
In the first question solution why there is 'and' , it should've been 'or'. Because if any one condition is true it'll get inside and print the number why it has to check both the condition?
@hardikjain8540
@hardikjain8540 4 жыл бұрын
@@rajtrivedi5031 i tried using 'or' but it is not giving the desired output. but when I used "and" it gives the desired output.
@vijeysrini
@vijeysrini 3 жыл бұрын
Your attitude, Man, out of the world, every time i finish one chapter, gives a great feeling that I have learnt something nice from you today.
@ChangeYourMind299
@ChangeYourMind299 Жыл бұрын
1. a=1 while a= 1 and a % 5 >= 1: print(a) a=a+1 2. j=1 while j
@Vvlogvibe4151
@Vvlogvibe4151 4 жыл бұрын
for 1 question i=1 while i
@munendrajha6476
@munendrajha6476 4 жыл бұрын
for i in range(1,101): if i%3!=0 and i%5!=0: print(i)
@iamniks
@iamniks 4 жыл бұрын
i = 1 while i
@drishtiraturi274
@drishtiraturi274 4 жыл бұрын
Hy can u pls explain , i tried ur code it's giving apt output but m not able to understand it.
@iamniks
@iamniks 4 жыл бұрын
@@drishtiraturi274 ok so what u didn't understand? while loop or the logic ??
@maheshvaran3342
@maheshvaran3342 3 жыл бұрын
i=1 while i
@shivkumarhiremath185
@shivkumarhiremath185 4 жыл бұрын
coming from mechanical background .....having zero knowledge of programming ....Navin sir has made it so very much easy for me...U were my teacher in 12th std i would have taken Computer engg....It was fear of programming that didnt allow me take C.S. Engg. But Navin Sir amazingly changed the way i look at programming now.Hats Off to u Sir
@shivangshukla5200
@shivangshukla5200 4 жыл бұрын
This much examples really helped my thinking. Perfect video for while loop🔥
@prakash1171
@prakash1171 5 жыл бұрын
Woowww Seriously I want to learn like that who can solve and things with debugging.
@eme_offl18
@eme_offl18 Жыл бұрын
Only me who is here after 5 years😌?
@mkhvdo586
@mkhvdo586 9 ай бұрын
im
@AdityaSingh-v6r
@AdityaSingh-v6r 5 ай бұрын
Question 1) # 1) Write a code to print all values from 1 to 100 and skip the number which are divisible by 3 and 5 i = 1 while i
@rei-rv3py
@rei-rv3py 5 ай бұрын
1) while i < 100 : i += 1 while i % 3 != 0 and i % 5 != 0: print(i) i += 1 2)i = 1 while i
@niyatipathak1317
@niyatipathak1317 2 жыл бұрын
1)user_input = int(input("Enter starting number:")) while user_input
@Sumit-eg5fc
@Sumit-eg5fc 2 жыл бұрын
well first one is not working and second one is wrong it contains 5 rows instead of 4
@nikeshprasad5559
@nikeshprasad5559 6 жыл бұрын
Sir your playlist on Core Java is great where everything is organised very well. Hope you will do the same for python!
@saikiranbanti5415
@saikiranbanti5415 4 жыл бұрын
1st one i=1 While i
@paritoshtripathi8070
@paritoshtripathi8070 4 жыл бұрын
bro why we have taken not equal here ?
@rishabhsharma3908
@rishabhsharma3908 3 жыл бұрын
@@paritoshtripathi8070 coz we are talking about reminder while dividing !
@shubhamspatil
@shubhamspatil 11 ай бұрын
1) i = 1 while i
@osasezomo5280
@osasezomo5280 Жыл бұрын
Question1: b = 0 while b
@aminder7487
@aminder7487 2 жыл бұрын
The most amazing teacher!
@s.jothikaivb3906
@s.jothikaivb3906 5 жыл бұрын
hi!! actually i had subscribed udemy website for learning python. i had lots and lots of doubts after seeing that videos . but after seeing your stuffs my doubts are cleared.. thanks for making these videos for us.. want to learn more from you.
@saadafzal3511
@saadafzal3511 2 жыл бұрын
i = 1 while i
@Sports_07_msd_ronaldo
@Sports_07_msd_ronaldo 3 жыл бұрын
I really happy after watching your video my professor is not explain me like this
@samarthsingla4263
@samarthsingla4263 3 жыл бұрын
This knowledge is sold for millions Do give this man a like👍🏻 for which too he never asked for 😊
@ManishSingh-vy5ne
@ManishSingh-vy5ne 4 жыл бұрын
Hey we can also do that by the following code. a = 1 while a
@karruramesh9798
@karruramesh9798 4 жыл бұрын
yes i agree
@hakdokhakdok195
@hakdokhakdok195 4 жыл бұрын
instead of a = a + 1 you can use a+=1
@gokulbeats6932
@gokulbeats6932 4 жыл бұрын
@@hakdokhakdok195 yes short hand notation
@code6233
@code6233 4 жыл бұрын
Yes
@ManishSingh-vy5ne
@ManishSingh-vy5ne 4 жыл бұрын
@Syed Zakiullah while loop is also used... 🙄 In the upper coding
@amitkabi
@amitkabi 5 жыл бұрын
1st problem: i=0 while i
@srinivasacharya5249
@srinivasacharya5249 5 жыл бұрын
You've written i+=1 two times. It leads to miscounting and the output starts from 2 and not 1.
@rohankiratsata1161
@rohankiratsata1161 5 жыл бұрын
There should be "AND" not "OR" in if statement
@taherismail5425
@taherismail5425 4 жыл бұрын
sir could you please help me how to figure out this issue i need some help if you don't mind and i appreciated your effort, In nuclear physics, the half-life is used to describe the rate with which elements undergo radioactive decay. More precisely, it is the time required for an element to reduce in half. Let's take an isotope of Radium (Ra) called radium-223. Say, its half-life is about 12 days. This means that every 12 days the number of atoms reduces in half. Write a program that calculates how many full half-life periods (in days) it would take for a certain amount of radium-223 to reduce to a specific value. The input format: The first line with the starting amount of atoms N (from 2 to 1,000,000), the second line with the resulting quantity R. The output format: The number of full half-life periods (in days) T it would take for radium-223 to reduce from N to R. Assume that any change would take at least 1 half-life period. Suppose, the initial number of atoms is 4 and the resulting quantity equals to 3. In 12 days, the number will reduce to 2 atoms. Since we are counting full half-life periods, you should write 12 and so on. Sample Input 1: 4 3 Sample Output 1: 12
@onlysparsh
@onlysparsh 5 жыл бұрын
sir love u,, ur excitement in coding makes me excited too
@swaritsharma941
@swaritsharma941 2 жыл бұрын
very nice explanation and due to u i can now learn the language PYTHON SO fast as i had not thougth .
@sankellapavan5361
@sankellapavan5361 4 жыл бұрын
you are the best teacher i have seen in my life.
@zeeshanshahidansari9425
@zeeshanshahidansari9425 4 жыл бұрын
Hello Sir! Your efforts and energy level are superb. Thanks for helping us. Really appreciable. God Bless You Sir :-)
@rajtiwari6645
@rajtiwari6645 4 жыл бұрын
i=100 while i>0: if i%3!==0 and i%5!==0: print(i) i=i-1
@prathamdave6379
@prathamdave6379 4 жыл бұрын
Put == in place of =
@firefoxyouth
@firefoxyouth 6 жыл бұрын
pythoooon, I love your accent --> new subscriber
@dilipreddydot5892
@dilipreddydot5892 Жыл бұрын
i = 1 while i
@JyotiSingh-sz7ox
@JyotiSingh-sz7ox 4 жыл бұрын
Best Teacher ever. I am from non programming background but the way you explain is awesome!
#21 Python Tutorial for Beginners | For Loop in Python
7:27
Telusko
Рет қаралды 1,3 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 69 МЛН
While Loop in Python | Python Tutorials for Beginners #lec50
26:51
Jenny's Lectures CS IT
Рет қаралды 90 М.
Python 101: Learn the 5 Must-Know Concepts
20:00
Tech With Tim
Рет қаралды 1,2 МЛН
5 Useful F-String Tricks In Python
10:02
Indently
Рет қаралды 335 М.
While loops in Python are easy ♾️
6:58
Bro Code
Рет қаралды 433 М.
Solve any Star Pattern program in Python
18:44
Simply Coding
Рет қаралды 1 МЛН
R vs Python
7:07
IBM Technology
Рет қаралды 341 М.
Please Master These 10 Python Functions…
22:17
Tech With Tim
Рет қаралды 233 М.
Python For Loops - Python Tutorial for Absolute Beginners
14:42
Programming with Mosh
Рет қаралды 636 М.
How I Would Learn Python FAST in 2024 (if I could start over)
12:19
Thu Vu data analytics
Рет қаралды 609 М.