Skip to content

nickolaystanev/test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

require 'csv' sum=0.0

CSV.foreach("thing.csv") do |row| temp=row[0].to_f if temp>5.0 sum=temp+sum end end CSV.open("exam.csv", 'w') do |writer| writer <<[sum] end CSV.foreach("exam.csv") do |row| p row end

About

test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages