Praveen Kumar kashyap
Monday, March 28, 2022
factorial using recusing function in python
def fact(n): if n==0: retrun 1 return n * fact(n-1) result = fact(5) print(result)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment