Question: Here is what I would type in command prompt for the above example: puthon test 2 - 3 . py Kyle 4 5 3 5

Here is what I would type in command prompt for the above example: puthon test2-3.py Kyle 4535846. python test 2-3.py Kendall 65555656546. python test 2-3.py Tristan 222112977897. Write a script called test2-3.py that uses a while loop to process the number of visits. calculate the average, the total and the range for the customer. There will be no credit unless you do use a whileloop and no credit if you use a list. You can assume the input is always valid (no one is going to type a negative number or a string like "cat"), Use the round () function to have at most 2 decimal places in the answer. the ouput for the above input should exactily match the following. Kyle shops on average 5.0 times per month with a total of 35 visits and a range in visits of 5. Kendall shops on average 5.27 times per month with a total of 58 visist and a range in visits of 2. Tristan shops an average of 4.75 times per month with a total of 57 visits and a range in visist of 8.

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!