🏠 Strona Główna
Benchmarki
📊 Wszystkie benchmarki 🦖 Dinozaur v1 🦖 Dinozaur v2 ✅ Aplikacje To-Do List 🎨 Kreatywne wolne strony 🎯 FSACB - Ostateczny pokaz 🌍 Benchmark tłumaczeń
Modele
🏆 Top 10 modeli 🆓 Darmowe modele 📋 Wszystkie modele ⚙️ Kilo Code
Zasoby
💬 Biblioteka promptów 📖 Słownik AI 🔗 Przydatne linki
easy

CSV File Reader

#python #automation #csv

Write a Python script to read a CSV file and perform a basic calculation on a specific column.

Write a Python script using the 'csv' module to read a file named 'sales_data.csv'. The file has a header row with a column named 'amount'. The script should read all values in the 'amount' column, convert them to floats, and print the total sum.