#!/usr/bin/env ruby # -*- coding: utf-8 -*- srand() saikoro=rand(6)+1 printf("振ったサイコロの目は%dだったよ!\n",saikoro)