# coding: utf-8 kuni = CSV.read("namae.csv", :headers => true) for row in kuni printf("%sの首都は\n",row) end