#!/usr/bin/env ruby # -*- coding: utf-8 -*- suuzi=[9,5,3,6,8,2] pan=["カレーパン","メロンパン","食パン"] printf("%sです。\n",suuzi.sort) printf("%sです。\n",pan.sort)