We have a failing test case for our avg_luck_boost function! When an empty list is passed to the function, it should return 0.0. Instead, it tries to divide by zero and crashes.
Let's update avg_luck_boost so that all tests pass again.
Some programmers like to work this way; it's called "test-driven development" or "TDD":
TDD is sometimes a controversial topic, and we won't dive into that here. But we will give you much more practice with writing tests in later courses.
Fix the avg_luck_boost function in main.py.