Codeground
Write average(nums) so it returns the mean of a non-empty list of numbers.
Load:
Correct
Buggy
Raises error
solution.py
Reset
Run
Run tests
Loading...
Output
Tests
starting...
Run your code to see its output here.