Factorial Number using For Loop in Python | for loop in python | #shorts #python #ytshorts

preview_player
Показать описание
for loop in python
WAP to calculate factorial of given input n using for loop

new video for python programming
python code for problem solving approach.
- python for beginners
- learn python in simple way.
- first clear basic concepts.
- solve more problems and consistent practice.

for loop in Python Program
python programming for beginners
python programming examples
python while loop
learn python

#shorts #ytshorts

Рекомендации по теме
Комментарии
Автор

Num=int(input("please enter a number"))
Fac=1
for i in range(1, Num+1)
Fac*=i
print("the factorial of", Num, "is", Fac)

gamersksa
Автор

thought :>>>>i = i -1 also have to there 😂

ashokyadav
Автор

Bro if i want check factorial from 1-10 then

darshanmalya
join shbcf.ru