Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
6
Task/CSV-data-manipulation/11l/csv-data-manipulation.11l
Normal file
6
Task/CSV-data-manipulation/11l/csv-data-manipulation.11l
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
L(=line) File(‘data.csv’).read_lines()
|
||||
I L.index == 0
|
||||
line ‘’= ‘,SUM’
|
||||
E
|
||||
line ‘’= ‘,’sum(line.split(‘,’).map(Int))
|
||||
print(line)
|
||||
Loading…
Add table
Add a link
Reference in a new issue