{"blog_title":"\u3044\u308d\u3044\u308d\u5099\u5fd8\u9332\u65e5\u8a18","url":"https://devlights.hatenablog.com/entry/20050320/1150863700","title":" \u7bc4\u56f2(range)\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u4f5c\u6210\u65b9\u6cd5","provider_url":"https://hatena.blog","author_name":"gsf_zero1","categories":["ruby","python"],"version":"1.0","type":"rich","author_url":"https://blog.hatena.ne.jp/gsf_zero1/","provider_name":"Hatena Blog","blog_url":"https://devlights.hatenablog.com/","published":"2005-03-20 13:21:40","width":"100%","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevlights.hatenablog.com%2Fentry%2F20050320%2F1150863700\" title=\" \u7bc4\u56f2(range)\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u4f5c\u6210\u65b9\u6cd5 - \u3044\u308d\u3044\u308d\u5099\u5fd8\u9332\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"[\u5404\u8a00\u8a9e\u3067\u306e\u7bc4\u56f2(range)\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u4f5c\u6210\u65b9\u6cd5](1) groovy a = 1..10 a.each{ print it + ' '} #=> \"1 2 3 4 5 6 7 8 9 10\" \u3082\u3057\u304f\u306f (1..10).each{ print it + ' '} #=> \"1 2 3 4 5 6 7 8 9 10\" (2) ruby a = 1..10 a.each{ |v| print v.to_s + ' '} #=> \"1 2 3 4 5 6 7 8 9 10\" \u3082\u3057\u304f\u306f (1..10).each{ |v| print v.to_s + ' '} #=> \"1 2 3 4 5 6 7 \u2026","height":"190"}