Python Program To Find Factorial Of A Number

Python Program To Find Factorial Of A Number Method-01 Using recursion def findFactorial(N): if(N==1): return 1 return N*findFactorial(N-1) # N = int(input(“Enter the input: “, )) N=6 factorialValue=findFactorial(N) print(“Factorial: “,factorialValue) …

Read more

Python program to calculate Mean using List

Write a python program to calculate Mean using List. def findMean(mList): print(sum(mList)/len(mList)) dataList = [60, 120, 130, 140, 150, 70, 80, 90, 100, 110,111,112] findMean(dataList)   Output: 106.08333333333333