Skip to content

Instantly share code, notes, and snippets.

@tomcha
Created March 7, 2015 04:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomcha/1c33a6d3c01ae13723bc to your computer and use it in GitHub Desktop.
Save tomcha/1c33a6d3c01ae13723bc to your computer and use it in GitHub Desktop.
変数と配列を使う練習問題解答例
first = '衣笠丼'
second = 'ぬか漬け'
third = '寿司'
puts first
puts second
puts third
animals = ['猫', '犬', '猿']
puts animals[0]
puts animals[1]
puts animals[2]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment