require 'csv'CSV.open('text.txt', 'r') do |person| puts person.inspectend//File: text.txtF,M,M,45L,C,F,23D,P,F,38