mikepfeifer2729 mikepfeifer2729
  • 08-04-2024
  • Mathematics
contestada

Complete the following code to print the average of the list.
newₗist = [0, 1, 2, 3, 4]
xxx
print('The average is {}'.format(avg))

a) for avg in newₗist
b) avg = sum(newₗist) / len(newₗist)
c) print(avg(newₗist))
d) avg(newₗist)

Respuesta :

Otras preguntas

Find a number such that 1/4 of the number is 50 less than 2/3 of the number
1. What is a need?:2. What is a want?:​
what is the change in the force of gravity between any two bodies when mass of each body is double keeping the distance between them constant?​
If 2 > -a then a < -2 true or false
What is force? The definition of force
Select ALL the correct answers. Which were characteristics of the Gilded Age? labor unions labor strikes ООООО equality for women long shifts and low pay civil
rewrite 4^-2 without negative integers
If a cell has a cell membrane, it is ... A. eukaryotic. B. prokaryotic. C. can be either prokaryotic or eukaryotic. D. none of these have a cell membrane.
Which type of plate boundary or zone would be most likely to lead to above-ground volcanic activity? A. Subduction zone B. Divergent boundary C. Collision zone
A rectangular field has length 80m. What is its width if the perimeter is 240m? 40m 80m 3m 160m