Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Computer Science -Python question Exercise 2 Write a function that accepts a list and returns the average of the numbers in it. You are allowed

Computer Science -Python question
image text in transcribed
Exercise 2 Write a function that accepts a list and returns the average of the numbers in it. You are allowed to use loops only. Do not use built in sum, average...etc. functions or list-comprehensions. Sample Input 13 = [10,20,30,40,50,60,70,80] Expected Output 45 O Priser F12 ing F10 FO FS FO F7 F8 F11 *** a ) $ % 5 & 7 00* O 9 4 6

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

Main Memory Database Systems

Authors: Frans Faerber, Alfons Kemper, Per-Åke Alfons

1st Edition

1680833243, 978-1680833249

More Books

Students also viewed these Databases questions