Write a program to sum the series: 1/1 + 2^2/2 + 3^3/3 + ……. n^n/n PYTHON ONLY
Answers
Answered by
4
Answer:
Explanation:
n=int(input("Input n: "))
plus=0
for i in range(1,n+1):
up=int(pow(i,2))
down=int(i)
plus=plus+(up/down)
print(str(up),"/",str(down))
print("Sum is: ",plus)
Attachments:
Answered by
1
The program to the sum of the given series using Python language.
Attachments:
Similar questions