Python Tutorial - Prime Numbers | Printing Prime Numbers in Given Interval
ฝัง
- เผยแพร่เมื่อ 12 ธ.ค. 2017
- In this python programming video tutorial you will learn about the prime numbers in detail with different examples.
A prime number is a natural number greater than 1 that has no positive divisors other than 1 and itself. Here we will discuss about how to write python program to print prime numbers in specific interval.
For more free tutorials on computer programming
/ amulsacademy
/ amulsacademy
Thank you! This was probably my 10th video trying to figure this out , and i think i finally got it. You're very good at explaining.
Have been struggling with understanding this and suddenly stumbled on this.
So explanatory. Thank you for your effort.
Amazing teacher, finally I understood all I needed so far...beginner. Thank you
My Pleasure :)
This is the best video i ever watched for python programming. This is really begginer friendly.
You explain a complex thing in a wonderful and extraordinary manner. Great!
Thank you! 😃
Thank you so much! You are great at explaining the logic behind the code for novices like me.
You are such a great teacher , thank for helping people , great jobs
very very very thanks for this understand ................... no words are coming finally after 3 days of madness in loops got this amazing,exellent vedio...... wow
Has to really appreciate how well u explain everything 🙏🏻❤️💯
Amulya's Academy Has Its Own Style Of Teaching .One Of The Best Channels On TH-cam 🙌🙌🙌💥🔥🤑👏👏Thanks Mam!!!!
Thank you :)
Thank you so much .now i m getting confident in coding because of ur video..love and respect🙏🙌❤
you are my best teacher in the world. thank sister.
My Pleasure :)
your voice makes it interesting , but your expalanation is magic
Thank you :)
Your explanation is crystal clear! ❤
Thank you :)
will you plz explain once
Thankyou for the incredible explanation.....
This video was Very clear explanation compare to other videos.....Thank you so much mam......
It's awesome . The way you explained was too basic and it's really helped me to understand internal loop flow.
Pleasure :)
Tnq for clean n crisp explanation. Keep uploading.. Lots of love from Visakhapatnam
Thank you :)
@@AmulsAcademy what if the lower value starts from 2
This is so nicely explained.Thank you!
Glad it was helpful! :)
Wow what an explanation mam, today I saw your channel and this video first time ,now I have subscribed this channel bcoz my query has solved here only tysm mam please come up with such more videos🙏🙏
simply superb 😍
Hopefully one day you definitely taking gold play button for such amazing content you deserve more and more subscribers
Thank you for providing such amazing content mam
Thank you so much 😀
I love your teaching
Very well explained !!! Keep it up
Wow..!!
Excellent explanation ma'am
Thank you :)
Valuable teaching.. 👍
thank you very much mam! really your all lectures are very helpful for me.
Excellent explanation
Very lucid explanation ma'am
Thank you
Wow!! Nice explanation
Finally i got the logic for prime number
I appreciate ur work
Glad to hear that :)
@@AmulsAcademy have u uploaded prime number using while loop because its way too confusing in while loop
My greatest tutor ,I appreciate your work you're doing for us
Thank you 😊
Really good explanation mam!!!! 👍👍
Hats off ❤🎉
superb 👌 could understand very easily. Thankyou ☺️
Most welcome 😊
Thanks for the help!
Happy to help! :)
Nice explanation thank you
Thank you so much mam.. 👍🙏
subscribed!!! But 1 request is you have to upload daily basis video on python
u r awsome sis if u were my python teacher i will topper in my class ❤❤☺☺☺
Yes ,
But I want modules,
Unittest
Threading,
Logging,
Paramiko,
For these models videos
You are learning python for marks wow
Congratulations sis
No
Yes same feelings
Your way of teaching is very nice mam... Easily understood
Thank you :)
Your explanation is best
Thanks a lot 😊
Thankyou ....great explanation
You are welcome :)
Nice Explanation Mam 👏
Really very helpfullthank you
Best explained.....🙂🙂😘👌👌👍👍
awesome video Sister,your videos helps me lot......................
Thank you:)
Thank you Amul for a very well presented lesson. Thanks to you I now understand !
My Pleasure :)
thanks mam u r really awesome i was not able to understand about num function in this code but u cleared my doubt thanks a lot again
You are welcome 😊
Thank you so much mam ur videos are Very helpful... please keep going
Thank you :)
Nice mam this was useful in my study📚✏
*Amazing*... Thanks a lot for helping me mam 😃😁😀
Pleasure :)
Amuls Academy mam can u make practice programs in dictionary also ...it's a quit important topic . They ask in exam
Than you so much mam,ur explanation will be change us ,please come again with more video to improve us mam
Pleasure 😊
best teacher ...
Thank you :)
I am learning ,keep it up please
Thank you 😊
EXCELLENT MAM THANK YOU
good explanation bro
Very useful video
wow u explained very well thx
You're welcome! :)
Your tutorials are better than udemy.
Thank you:)
great work!
Thanks a lot! :)
2 cute voices in youtube..
1,strell
2,your's
Awesome class tnx mam
Thank you :)
@@AmulsAcademy a
you got a new subscriber!!😊😊👌😘👍👍
Welcome!! :)
Excellent video
Thank you 😊
Great teaching ma'am
Thanks a lot :)
Nice explanation great keep it up
Thank you:)
Nice explanation.
Thank you :)
Nice teaching
awesome explanation.
Thank you :)
Thanks for this video
Pleasure 😊
Thank you 😍
Excellent teaching
Thank you:)
thank you madam u are really teaching well
Pleasure :)
Thanks a lot
Thank u so much madam Ur so great
Thank you :)
its awesome tomorrow is my exam I hope I will do better tomorrow !😊😊
I liked your voice and way of explanation very nice...really satisfied your channel name amuls..thanks soo much
lower=int(input('lower'))
upper=int(input('upper'))
for num in range (lower,upper+1):
if num>1:
for i in range (2,num):
if num%i==0:
break
else:
print(num)
Aapka n *python tutorials* summe m bra aacha lgta h
clear cut explanation tq mam
My pleasure :)
Nice explanation
Thank you :)
Thank you sis for this tutorial
Welcome :)
thank you !
Pleasure :)
thanks a lot
Thank you mam..😄👍
Most welcome 😊
Mam excellent good explanation
Thank you :)
Thank you
well explained✌😊😊
Thank you :)
Best explaination
Thank you :)
Ⓛⓞⓞⓢⓤ
Very nice
Excellent
Thank you so much 😀
AWESOME
Mam excellent teaching 😊😊😊
Thanks a lot :)
Mam is there machine learning and artificial intelligence in your academy
If it is there, please send me the link .If it is not there please make a tutorial on it🙏🙏🙏🙏
your explanation is super.is this any possible to decrease the length of the programe ?
Could you please upload the video for difference between functions,class,attributes,methods and explain it clearly with one example...how all works
Ok i will try :)
Hi, I have a question about what if 2 in the range(2, num), the range will be (2,2) which has no number contained.
It will print nothing. In this case, if your "num" is two(2), it means you would have given your upper limit as two(2).In range, it will take only (n-1) values. So that would print nothing. As it would be like (2,1), I suppose.
@@harikrishnants8545 then how she get 2 in the second example
Thank's
very well explained! appreciated! ( p.s its remainder not reminder 😅)
Haha… thank you 😊
maam, i am not able to understand how 2 is getting printed if we use 2 as our lower limit. 2 will get divided by range(2,1) hence will break out from the loop and nothing should be printed. please reply
We took range form 2 to num. {for i in range(2,num)}
when num is 2
range will become range(2,2)
so it won't execute for loop body so it will execute else part and it will print 2 as prime number.
can you plzz tell for which num you define for eg if you choose two limits 5 and 35 so for which FOR loop from 2,num is applicable
Sorry i am not getting your question can you please explain little more?
Mam only this method can use Or other methods r in there