Question: Python! Please! Problem 2 - Stellar Series Complete the following program that reads in a number k. We create a series where the nth element
Python! Please!
Problem 2 - Stellar Series Complete the following program that reads in a number k. We create a series where the nth element is defined by the following equation: Vnx2-5 Print out the sum from the 1st to the kth element in this series. Your answer should be rounded to 2 decimals. Input Format For Custom Testing The only line of input contains an integer k that is greater than or equal to 1. Sample Case 1 Sample Input For Custom Testing 1 Sample Output 0.06 Sample Case 2 Sample Input For Custom Testing 3 Sample Output 0.67 Sample Case 3 Sample Input For Custom Testing 10 Sample Output 191.21
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
