finally, someone explains it in details. I struggled a lot trying to understand it. Keep up the good work
@AmulsAcademy3 жыл бұрын
Thank you :)
@Ayasir-lo3ir3 жыл бұрын
it's simple it goes back to for loop when the there is no more list it will return the list
@supriyasuppu83883 жыл бұрын
Hlo explain how find given number s factorial or not Example 24=4!
@YDM162 жыл бұрын
Same here💯💯
@sunitagupta5864 Жыл бұрын
Hh
@chennaramana98936 жыл бұрын
I don't know your age but the way you teaching was with full of clarity and even non IT can also learn this python through your teaching but my request make some videos about complex programs of using combinations of if, for , while and also tkinter kindly
@AmulsAcademy6 жыл бұрын
Sure:)
@libinvarghese28862 жыл бұрын
Thank you ma'am.. this explanation is truly a gem. I was trying to learn this for a week.
@srishtinisha1712 Жыл бұрын
I came here after watching so many videos which goes over my head.. finally the way you explain in detail clear my concept.. thank you so much 🙏
@omkar15923 жыл бұрын
Thanks Amulya for this amazing explanation!!!
@AmulsAcademy3 жыл бұрын
Pleasure 😊❤️
@chidij20 Жыл бұрын
You are definitely a good teacher 👏🏽👏🏽👏🏽👏🏽I need more classes so I had to follow you
@krishk48705 жыл бұрын
Neat Yar amul baby😊😘 loved it
@Krishhh.....2 жыл бұрын
You at the best python teacher
@garammasala98863 жыл бұрын
I was trying to understand from previous two days to understand in detail, finally my search is over and got a perfect explanation. Big THANK YOU : )
@AmulsAcademy3 жыл бұрын
Pleasure 😊
@nurfatinnazurah2963 жыл бұрын
Thanks, i was just struggle answering my question and after i found this, i'm now ok with it.
@AmulsAcademy3 жыл бұрын
Glad to hear that 😊
@nurfatinnazurah2963 жыл бұрын
@@AmulsAcademy tq😁
@AmulsAcademy3 жыл бұрын
😊
@dineshkumar-bi7my3 жыл бұрын
Awesome, Thank you. Now my doubt was cleared after saw your video :)
@AmulsAcademy3 жыл бұрын
Glad to hear that :)
@mokimanik8721 Жыл бұрын
Wonderful teaching ✨🙏 but I saw one of the they mentioned num+1 in range like num=7 f=1 For i in range(1, num+1): f=f*1 Print (f)
@prakhyathmunna25413 күн бұрын
Simple and effective explanation mam ❤
@AmulsAcademy13 күн бұрын
Glad you liked it :)
@sathya_krish3 жыл бұрын
Thank you So Much😄 You have Great Teaching Skill😇
@AmulsAcademy3 жыл бұрын
Thank you! 😃
@rajathilak30834 жыл бұрын
Hello Amulya, I have doubt, num=0 result=1 if i in range(num,0,-1): #(0,0,-1)#i=0 result=result*i #1=1*0=0 print (result) #ans=0#how it get output 1 Can you clarify me above concept for given input as 0 Thanks in advance
@AmulsAcademy4 жыл бұрын
if i in range(num,0,-1): #(0,0,-1)#i=0 I think it is not if , you are using for loop. and when range() starts from 0 and ends 0 it won't take i as 0, actually it won't give any value because end value is exclusive. So it won't execute for loop body. it will print the result, that's why you will get result as 1. if you want result as 1 then you can write like this: for i in range(num,-1,-1): #(0,-1,-1)#i=0
@rajathilak30834 жыл бұрын
@@AmulsAcademy Thank you :)
@agamsaraswat52962 жыл бұрын
explanations of the exact happenings in for loop helped us understand this function
@vishaltiwaribnt2 жыл бұрын
step by step clearly explain.....thnks u
@sabyasachidas45722 жыл бұрын
I've just learned the basics of python and im solving some basic questions. Can you tell me shall start learning dsa or I should wait and solve more python problems to start it🤔 Please reply it will be very helpful to me.
@ashleyjones1932 жыл бұрын
Excellent explanation this question asked in capgemini interview
@ranjanrana82272 жыл бұрын
Thanks a lot maam…….. I finally understood the full logic
@ANTDOG1235 жыл бұрын
Thank you so much for your help and knowledge on the subject. I was really struggling.
@AmulsAcademy5 жыл бұрын
My Pleasure :)
@muhammedilliyas72614 жыл бұрын
Really you are a great teacher/trainer. thank you so much. if you conducting a learning institution please let me know.
@AmulsAcademy4 жыл бұрын
Thank you, I will :)
@mohamedhasan52593 жыл бұрын
finally i have got my computer science tutor
@AmulsAcademy3 жыл бұрын
Welcome :)
@sumitjha30333 жыл бұрын
thank you you explained it in the best way
@AmulsAcademy3 жыл бұрын
Glad to hear that 😊
@venkataramanabanda81053 жыл бұрын
If take n = 0 then what will happens..how works plz tell me...0*1=0
@dhineshdhini84165 жыл бұрын
1st thank u for ur video its simple nd easy to understand can you make a factorial program using while loop
@AmulsAcademy5 жыл бұрын
This may help you: num = int(input("enter the number: ")) res = 1 i = 1 while i
@infinity40372 жыл бұрын
Your explanation is awesome.
@nevaehortiz82102 жыл бұрын
Hey, I love the video and I now understand it better but do you know how to make it so it only gives a factorial of numbers in a set range?? I need it to be between 1 and 25 but I don't know how to get the range set without it running through every single number, thank you for any help :] have a good day
@maheshkumarinfo98062 жыл бұрын
Tq for your beautiful explanation❤
@nagendra98533 жыл бұрын
Really awesome explained it's easy to understand please upload full python tutorial pin to pin explain 🤗
@ambreshmeti80252 жыл бұрын
Super explanation kya kaa
@AslamAslam-bh7sy Жыл бұрын
Very good explain,, thank u so much,.. ❤
@vidhijaiswal56053 жыл бұрын
Thank you for your help
@AmulsAcademy3 жыл бұрын
Pleasure :)
@jacobmathews8624 жыл бұрын
Mam can do Qns like write a menu driven program to print truth table of following logic gates AND,OR,NOT
@AmulsAcademy4 жыл бұрын
I will try :)
@raravindh88082 жыл бұрын
Thank you mam
@anuragmu29257 ай бұрын
And when we have to print like 5×4×3×2×1=120 what we have to do
@eshwarb11153 жыл бұрын
I'm getting 1as output for factorial of 5 what to do
@Selvi5745 жыл бұрын
Very helpful mam
@AmulsAcademy5 жыл бұрын
Thank you :)
@soumyasinha41834 жыл бұрын
Here we can take range as (1,n+1)?
@AmulsAcademy4 жыл бұрын
Yes You can :)
@gajjadatinku57003 жыл бұрын
Why zero is taken range function, in this program, how it is used.
@shafeeqahmed701921 күн бұрын
Mam what if n=0 in this case?
@manasibhoir39884 жыл бұрын
Very good explanation 👍👌
@AmulsAcademy4 жыл бұрын
Thank you :)
@s26135 жыл бұрын
Why did you take result=1 ? Could please tell me Amulya
@AmulsAcademy5 жыл бұрын
Because to get factorial of number we need to do multiplication. result is the variable which will hold my final result. If i take 0 , 0 multiply anything will be 0, that's why i took 1. value 1 won't change any output, because if you multiply any value with 1 answer remains same :)
@s26135 жыл бұрын
Amuls Academy Thank you so much Amulya 😊 You are really doing great job 😊
@AmulsAcademy5 жыл бұрын
Thank you :)
@sudiptachakraborty7456 жыл бұрын
You are doing a fantastic job. Keep it up.
@AmulsAcademy6 жыл бұрын
Thank you:)
@krishnakantmishra91684 жыл бұрын
Ma'am in my PC it shows errror in the 2nd line
@algo3an3 жыл бұрын
Double check your indentation. It could be the issue. Plus what error message are you getting?
@ilzz98564 жыл бұрын
Like ur teaching 🔥🔥🔥
@AmulsAcademy4 жыл бұрын
Glad to hear that :)
@MRPJ-ty3ps4 жыл бұрын
thank you so much u saved me i was unable to understand this program
@dfgndfghdfghdfgh4 жыл бұрын
so helpful
@AmulsAcademy4 жыл бұрын
Glad it was helpful!
@sojibakash2 жыл бұрын
If we provide input=0,, result=1*0,, so it print output 0., but 0 factorial =1..how it??
@ishaan3475 Жыл бұрын
Thank you so much🙏
@ramakantpandit71512 жыл бұрын
The helps me alot
@lakshmansai41724 жыл бұрын
Madam why we used the -1 in for loop
@haarishp49133 жыл бұрын
Your voice is nice
@AmulsAcademy3 жыл бұрын
Thank you :)
@DeepakKumar-xu6kg4 жыл бұрын
Really, very helpful channel and the explanation and content is awesome....😊👍
@AmulsAcademy4 жыл бұрын
Thanks a lot 😊
@umarhasnain73694 жыл бұрын
Great explanations. I was looking for it
@AmulsAcademy4 жыл бұрын
Glad it was helpful! :)
@THUSxFAR4 жыл бұрын
Great video
@AmulsAcademy4 жыл бұрын
Thank you :)
@asiachannel28263 жыл бұрын
Really mam your voice is very beautiful like cackoo
@briankwala7923 Жыл бұрын
thank you
@Turtle_Tutor3 жыл бұрын
Can you tell me what is done if we write result =2 and why we use result function ??~_~
@AmulsAcademy3 жыл бұрын
Give me the program please :)
@JWandy-us3bn5 жыл бұрын
Thank u soooo much Can I write (-1,-n-1,-1)... In for loop
@AmulsAcademy5 жыл бұрын
yes you can :) n=10 for i in range(-1,-n-1,-1): print(i) :)
@abishaa66912 жыл бұрын
understandable 👌
@praanadhyarlagadda6413 Жыл бұрын
thanks
@radhakrishna.kalluri71922 жыл бұрын
The Best
@mdfaizan21525 жыл бұрын
it is simple bt i was unable to understand this clearly for i in range(number,0,-1): but instead of ths i used for i in range(1,number+1):
@AmulsAcademy5 жыл бұрын
for i in range(number,0,-1): Here i value will be in descending order. if number is 5 then , i value will be 5 4 3 2 1 for i in range(1,number+1): here i value will be in ascending order starting from 1. if number is 5 then i value will be 1 2 3 4 5 :)
@SupGhostly5 жыл бұрын
the goal is to count down from n. So range (n, 0, -1) means: start at the n value ( n =5 ) go to 0, from the starting point of n value - go down by 1 ( thus -1)
@diagonalgaming17042 жыл бұрын
why is result=1?
@rafaykhattak4470 Жыл бұрын
thank u
@aj00354 жыл бұрын
Thank You Honestly ❤
@vijaykavuri5 жыл бұрын
I am able to get the program to display the answer, however I need it to also display the actual calculation, for example if the user enters 4 I need it to display as: 4! = 1 x 2 x 3 x 4 = 24 any help on how to add this in to the code?? Thanks in advance!
@AmulsAcademy5 жыл бұрын
def recur_factorial(n): if n == 1: print(n,"=",end=" ") return n else: print(n,"*",end=" ") return n*recur_factorial(n-1) n = int(input(":")) print(recur_factorial(n)) :)
@priyankapanwar53773 жыл бұрын
enter the number:3 factorial of 3 is 3 factorial of 3 is 6 factorial of 3 is 6 I am getting output like this
@AmulsAcademy3 жыл бұрын
Give me the program 😊
@dhananjaymudgule3 жыл бұрын
nice
@aniljain50945 жыл бұрын
Can u make this program using while loop.
@JonnyGall4 жыл бұрын
n = int(input("Enter the number: ")) result = 1 while i > 0: result = result * i i = i - 1 print("Factorial of",n,"is",result)
@santhosh33746 жыл бұрын
can't it be 1x2x3x4x5? or only 5x4x3x2x1
@AmulsAcademy6 жыл бұрын
Factorial of a positive integer n is the product of all positive integer less than equal to n. 1x2x3x4x5 = 120 5x4x3x2x1 = 120 the way of arranging is different thats it:) I think we write in decreasing order because of the formula. n! = n*(n-1)! :)
@prabhashthakur27026 жыл бұрын
great didi
@AmulsAcademy6 жыл бұрын
Thank you:)
@sivasharma71924 жыл бұрын
def fact(x,fact=1): while x>0: fact=fact*x x=x-1 return fact
@Evil_20044 жыл бұрын
👍
@AmulsAcademy4 жыл бұрын
Thank you :)
@jawadamir92825 жыл бұрын
so sweet voice
@AmulsAcademy5 жыл бұрын
Thank you :)
@hemantsinghkushwah4 жыл бұрын
Great Job ! thanks forever : #eartherk07
@krib16695 жыл бұрын
How to find the factorial of a float(), typecasting to int() makes it loose it properties as a float
@AmulsAcademy5 жыл бұрын
You can use gamma function :)
@krib16695 жыл бұрын
@@AmulsAcademy Is there any other way without using functions.
@venkateshvenkat53352 жыл бұрын
N,0,-1andhuku vaduthamu
@sonamnaik28044 жыл бұрын
tysm....♥️
@poojabharti65205 жыл бұрын
n = int(input("enter the number: ")) result = 1 i = 1 for i in range(n,0,-1): result = result * i i = i + 1 print("factorial of ", n, " is ", result)
@bhashkarrawat18295 жыл бұрын
But the results will be 1always
@AmulsAcademy5 жыл бұрын
Why ? Give me the program please :)
@steepenrajd15 Жыл бұрын
Explain n=0
@asiachannel28263 жыл бұрын
I want to make you friend, are you ready. Don't forget to reply
@jaiminsolanki82584 жыл бұрын
Beauti voice
@greeshmashetty17243 жыл бұрын
Amulya a kind request - can you also please start making videos for javascript programme along with python. Javascript is also widely used and I am sure lot of people out there are looking for programming way of explaining just like you do in python. I will be so greatful for you if you can start javascript tutorial and programs as well. Thank you very much. ❤️
@AmulsAcademy3 жыл бұрын
I will try :)
@acousticbro44483 жыл бұрын
Bro sorry but you speak "n" like "yen". The right pronunciation is "en" not yen
@AmulsAcademy3 жыл бұрын
Thank you :)
@santhoshking25903 жыл бұрын
Your voice is...beautiful... 😅
@AmulsAcademy3 жыл бұрын
Thank you 😊
@vishallodhi54164 жыл бұрын
You are doing great job
@AmulsAcademy4 жыл бұрын
Thank you so much 😀
@vishallodhi54164 жыл бұрын
Thanks
@AmulsAcademy4 жыл бұрын
Welcome :)
@enough_4_you6803 жыл бұрын
Thnkuuuuu sooo much....... 🐨🐨
@paviyug4 жыл бұрын
Your explanation is very clear. Thank you so much
@AmulsAcademy4 жыл бұрын
Glad it was helpful!
@francescowang3 жыл бұрын
n = 5 result= 1 for i in range(n, 0, -1): result *= i print('the factorial of', n, 'is', result) alternative method: n = 5 result= 1 for i in range(1, n + 1): result *= i print('the factorial of', n, 'is', result) Why does (n, 0, -1) work the way it does? I find (1, n + 1) slightly easier to understand. It begins at 1, then to stop the loop you do n+1. Fantastic video btw. Please keep making them. You are brilliant. I just subscribed.
@AmulsAcademy3 жыл бұрын
range(n,0,-1) will give output 5 4 3 2 1 😊
@iamchaos91443 жыл бұрын
@@AmulsAcademy how can I print for example 1×2×3×4=24
@manikandand25414 жыл бұрын
hiii mam i am came again shall i say one thing....every program...in python...i will search like.....the program name with amul acedemy in youtube search....lv u mam...u r like mentor
@AmulsAcademy4 жыл бұрын
Thank you so much :)
@sohailkazi59015 жыл бұрын
Thank you!
@AdamGiaIsMetal4 жыл бұрын
You are THE best python teacher on YT. Thanks from New York!
@kumkumslab58113 жыл бұрын
Nice explaination mam after a long time i got your channel
@AmulsAcademy3 жыл бұрын
Welcome :)
@vishal_sharma_20063 жыл бұрын
Amulya u are on the next level girl u explain so easily . Keep growing
@AmulsAcademy3 жыл бұрын
Thank you so much :)
@smehta26686 ай бұрын
i'm confusing from last one year i have completed my data science course but programming concept is not clear yet. Now my searching is over i'll not miss any videos please upload some more videos for python.
@asfarhatehanoor21632 жыл бұрын
Thank you very much madam🙏🙏🙏your way of explanation is very nice.... .madam