This is a python script named sum-columns which takes in two parameters, a csv file and an integer, and calculates the sum of the column in the csv file indicated by the integer. The script first checks for boundary conditions, to make sure that the input is valid. If the input is valid, the script reads each line of the csv file and calculates the sum of the column indicated by the integer. Finally, the script prints the total sum and the name of the column.
-
Notifications
You must be signed in to change notification settings - Fork 0
shoval433/sum-columns
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published