# Program to find sum of series 1^1/1!+2^2/2!+3^3/3!...+n^n/n! import mathprint("Enter the range of number:")n=int(input())sum=0.0fact=1for i in range(1,n+1):    fact*=i    sum += pow(i, i) / factprint("The sum of the series = ",sum)