1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
ratelena [41]
3 years ago
12

Varied amount of input data Statistics are often calculated with varying amounts of input data. Write a program that takes any n

umber of integers as input, and outputs the average and max. Ex: When the input is 15 20 0 5, the output is:
Computers and Technology
1 answer:
Gnom [1K]3 years ago
7 0

In Python 3.8:

nums = list(map(int, input("Enter your numbers space separated: ").split()))

print(f"The largest number is {max(nums)} and the average of all the numbers entered is {sum(nums)/len(nums)}")

You might be interested in
HELPPPPPOOP
alexgriva [62]

Answer:b

Explanation:

8 0
2 years ago
Which amendment discussed in the unit do you think has the greatest effect on your life? Why?
lora16 [44]
The 13th amendment (freed the slaves) for me because I am black
6 0
3 years ago
Type your response in the box. Imagine you purchased a new computer and you plan to install one operating system and a few appli
faltersainse [42]

Answer:

Yes

Explanation:

As long as they were legally copied

5 0
2 years ago
Read 2 more answers
A programmer is responsible for solving a problem and making a presentation that includes his solution. He does not have much ro
sashaice [31]

Probably 2 but that's just a guess.


5 0
3 years ago
Read 2 more answers
How do I cancel a friend request?
dusya [7]

Answer:

By pushing cancel

Explanation:

It's simple

3 0
3 years ago
Read 2 more answers
Other questions:
  • Assume that circle and objects are created as follows Circle circle = new Circle(1); GeometricObject object = new GeometricObjec
    15·1 answer
  • The part of the computer that provides access too the internet is?
    10·2 answers
  • Write a compound inequality that is represented by the graph.
    14·1 answer
  • Suppose we have a linearly separable dataset, and we divide the data into training and validation sets. Will a perceptron learne
    8·1 answer
  • Can someone help me please and thank u
    13·2 answers
  • Why stress testing is needed?​
    14·2 answers
  • Trading stock or selling stock, selling real estate for profit, and selling other assets that gain value over time.
    13·1 answer
  • Need help coding this it uses input and I need to use the words good and morning
    10·1 answer
  • bailey reads wikis at the beginning of his research project to get his bearings on the topic. he switches to peer-reviewed journ
    10·1 answer
  • Ryan is developing a camera app for iOS with the following objectives: make it easier for users to choose and sort pictures; and
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!