logo

Crowdly

Suppose the call is changed to:   result = mean( [])   Explain wh...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Suppose the call is changed to: 

result = mean([]) 

Explain why the function cannot complete successfully as written. Describe a suitable way for the function to handle this case, and justify your choice. You do not need to write code. [2 marks] 

More questions like this

Want instant access to all verified answers on moodle1.maths.ed.ac.uk?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!