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)
Posted by Praveen Kumar at 9:48 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: factorial using recusing function in python
Location: PJJM+8V Bangaru Chelaka, Telangana, India
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

About Me

My photo
Praveen Kumar
View my complete profile

Blog Archive

  • ►  2024 (1)
    • ►  August (1)
  • ▼  2022 (1)
    • ▼  March (1)
      • factorial using recusing function in python
  • ►  2017 (1)
    • ►  September (1)
  • ►  2016 (1)
    • ►  June (1)
Watermark theme. Powered by Blogger.