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