Question: 15. Write a function called sumNumbers that accepts a list of numbers as a parameter and returns the sum of all of the numbers in

 15. Write a function called sumNumbers that accepts a list of

15. Write a function called sumNumbers that accepts a list of numbers as a parameter and returns the sum of all of the numbers in the list. The main program should: Ask the user to continue entering #s until they type END. You may assume the user will enter only numbers when asked. . Store the numbers they enter in a list. . Call the sumNumbers function and print the result NOTE: what happens if the first thing typed is END? 16. Suppose myStory contains a long string consisting of a number of sentences. Write Python code to print the number of sentences AND the number of words in myStory. Assume sentences must end assume there are no other periods within a sentence. Assume words are separated by a with a period and blank. [20, 100,88,40, 50,90] #write Python code to get rid of all scores below 60 in myList. 17. myList

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!