Symptom
After importing expenses from CSV data, arithmetic operations on amounts fail or produce wrong results. Summing expenses concatenates strings like "45.50120.009.99" instead of returning 175.49. Filtering by minimum amount may also crash with a TypeError.
What you know
The CSV import function receives rows as dicts (like csv.DictReader output) where all values are strings. After import, the expenses appear to load correctly, but their amount fields behave like strings instead of numbers.
Hints
Python
Python ready
Test Output
▶
Click "Run Tests" to execute your code