Hello friends, in this todays video we are going to see that how we can calculate factorial of a number or how to find factorial of number in python in hindi. So, watch this video completely so that you can write it by own. Hope you guyz enjoy this video. If yes then please subscribe to Tech Codno and don't forget to like this video.
Hello dosto, aaj ke iss video mai hum yeh dekhne wale hai ki kaise hum kisi bhi number ka factorial calculate kar sakte hai python ka use karke. Aap iss video ko pura dekhna taki aap isse khud likh sake. Asha karta hu ki apko yeh video pasand aayegi agar aayi hai toh please iss video ko like kar dena aur sath hi sath Tech Codno ko subscribe bhi kar dena.
नमस्कार दोस्तों, आज के इस वीडियो में हम यह देखने जा रहे हैं कि हम किसी संख्या के factorial calculate कैसे कर सकते हैं या हिंदी में संख्याओं के factorial को कैसे ज्ञात कर सकते हैं। तो, इस वीडियो को पूरी तरह से देखें ताकि आप इसे खुद से लिख सकें। आशा है कि आप इस वीडियो का आनंद लेंगे। यदि हाँ तो कृपया Tech Codno को सब्सक्राइब करें और इस वीडियो को लाइक करना न भूलें।
Watch this video:
Source Code:
#what is factorial?
#5! = 1 x 2 x 3 x 4 x 5 = 120
#0! = 1
a = int(input("Enter your number: \n"))
factorial = 1
if a == 0:
factorial = 1
else:
for i in range(1,a+1):
factorial *= i
# factorial = factorial * i
print(f"The factorial of {a} is {factorial}")
Related Questions:
How do you calculate factorials in Python?,
What is a factorial in Python?,
How do you make a factorial loop in Python?,
How do you check whether a number is factorial or not in Python?,
How do you calculate a factorial?,
What does == mean in Python?,
What is a factorial in math?,
How do I run python from command line?,
What is a factorial of 10?,
Is there a factorial function in python?,
How does Python calculate factorial?,
How do you do math factorial in Python?,
How do you print a factorial in Python?,
factorial program in python using while loop,
fastest way to calculate factorial in python,
factorial program in python using recursion,
python program to find factorial using function,
factorial in python numpy,
factorial program in python without recursion,
math.factorial python,
fibonacci program in python,
Thanks For Watching
0 Comments