python-workout
python-workout copied to clipboard
Update e09b4_even_odd_sums.py
Refactored to use slicing and sum() for even/odd indices, making the code shorter, clearer, and matching the problem statement.