Day 4 Puzzle
Fix the function so that
solve()
returns the average of the numbers in the list.
def solve(): numbers = [10, 20, 30, 40] return sum(numbers) // len(numbers)
Run
🎉 You’re giving ‘copy, paste, pray’ energy.