subject

1. Define a function and call it calc_avg ( ) 2. The function must accept one argument. Call the argument my myList.
3. The list must be a list of integers values such as: L1 = [10, 22, 78, 56]
4. Call the function calc_avg ( L1 ) in a way that the list L1 is passed as an argument
The function must calculate the average of the integer values in the list and print the results.

You can use the built-in function len (listname).

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:30
These tools give presenters more freedom to move about the room and interact with their audience. laptop computer laser pointer lcd projector remote control
Answers: 2
question
Computers and Technology, 22.06.2019 07:30
What type of computer network ensures high security ?
Answers: 1
question
Computers and Technology, 22.06.2019 10:50
A911 dispatcher is the sole sender of messages to all police officers. while on patrol, officers communicate with the dispatcher who, in turn, relays messages to other officers. the officers do not communicate directly with one another. this illustrates a network.
Answers: 1
question
Computers and Technology, 22.06.2019 18:30
Which cultural aspect does this type of song best portray? a german polka dance
Answers: 1
You know the right answer?
1. Define a function and call it calc_avg ( ) 2. The function must accept one argument. Call the ar...
Questions
question
History, 23.01.2020 23:31
Questions on the website: 13722363