Question: Input: your program accepts a sequence of (positive) integers from the user. Output: compute/display the average of the integer values entered by the user.

Input: your program accepts a sequence of (positive) integers from the user. Output: compute/display the 

Input: your program accepts a sequence of (positive) integers from the user. Output: compute/display the average of the integer values entered by the user. Please use the following test cases: Enter a sequence of integers: 12345678910 average 5.5 Enter a sequence of integers: 12345 average 3.0 Enter a sequence of integers: done Hint: * use the split function (to split the string) use the append function (to create a list). * Make sure that you watch/study the chapter 9 (Lists) lecture videos in PY4E (Python for Everybody), in particular, Lists part 2 and part 3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Below is a simple Python program that takes a sequence of positive integers from the user compu... View full answer

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 Programming Questions!