# coding: utf-8 print("名前を入れる\n") namae=gets.chomp print("数字を入れる\n") nenrei=gets.to_i printf("私は%sです。私は%d歳です。\n",namae,nenrei)