2) Write a function ioAve() which repeatedly prompts the user to enter numbers (
ID: 3553002 • Letter: 2
Question
2) Write a function ioAve() which repeatedly prompts the user to enter numbers (of any sign), followed by any printable non-numerical character (to signal the end of the sequence of numbers). A numerical character is any digit 0, 1, . . . , 9, the decimal dot ., e for scientific notation, and the signs +, ?. (Examples of non-numerical characters are the letters other than e.) As soon a non-numerical character is entered, the function ioAve calls ave(L) (an auxiliary function) and returns the average of the numbers that were entered. Don
Explanation / Answer
here is link to the file: test.py
https://dl.dropboxusercontent.com/u/39198934/test.py
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.