Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I am struggling with this lab. I need step by step instructions explaining how to solve it. Thank you! 6.12 LAB: Varied amount of input

I am struggling with this lab. I need step by step instructions explaining how to solve it. Thank you!

image text in transcribed
6.12 LAB: Varied amount of input data Statistics are often calculated with varying amounts of input data. Write a program that takes any number of integers as input, and outputs the average and max. Ex: If the input is: 15 20 0 5 the output is: 10 20 247772 1891704.qx3zqy7 LAB 0 / 10 ACTIVITY 6.12.1: LAB: Varied amount of input data main.py Load default template... my list = int (input () ) sum list = [sum (row) for row in my list] ave list : [sum list / num (row) for row in sum list] max row = max ([sum (row) for row in my list]) print (max row)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions