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, 23.06.2019 08:00
Match the items with their respective descriptions.
Answers: 1
question
Computers and Technology, 24.06.2019 12:50
When is it most apprpriate for a development team to change the definition of done
Answers: 1
question
Computers and Technology, 25.06.2019 01:30
Why is the most liked picture on instagram an eggy? owo
Answers: 1
question
Computers and Technology, 25.06.2019 02:00
Feedback is one of the basic elements games have in common true false
Answers: 2
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
Chemistry, 24.09.2019 01:30
question
Mathematics, 24.09.2019 01:30
Questions on the website: 13722361