Question: 1.) Define a python function that accepts uppercase and returns lowercase words. 2.) Write definitions for the following two functions: sumN (n) returns the sum
1.) Define a python function that accepts uppercase and returns lowercase words.
2.) Write definitions for the following two functions: sumN (n) returns the sum of the first n natural numbers. sumNCubes (n) returns the sum of the cubes of the first n natural numbers. Then use these functions in a program that prompts a user for an n and prints out the sum of the first n natural numbers and the sum of the cubes of the first n natural numbers.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
