Basics of Python-10
Day -10
For Loop :
For loop is used to iterate a sequence of data items.
let's solve some examples:
Write a python program to find the factorial of a number :
n=int(input("Enter the number - "))
m=1
for i in range(1,n+1):
m=m*i
print("The fact...
priyachakraborty.hashnode.dev1 min read