#!/usr/bin/env ruby # coding: utf-8 kago =["トマト","きゅうり","なす","ピーマン"] printf("%sを食べた。%sがかごにある。\n",kago.shift, kago[かぼちゃ])