Question: Ask user to enter a positive integer of n and use this number to calculate the sum of series up to n term (20 pts)
Ask user to enter a positive integer of n and use this number to calculate the sum of series up to n term (20 pts) 1 + 1/2 + 1/3 + ... + 1/n
Test case:
Please Enter an integer n: 5 2.283
Please Enter an integer n: 10 2.929
PLEASE USE PYTHON ONLY
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
