随笔分类 - ruby
摘要:定义:[1, 2, 3] # An array that holds three Fixnum objects[-10...0, 0..10,] # An array of two ranges; trailing commas are allowed[[1,2],[3,4],[5]] # An a...
阅读全文
摘要:# definefrench_string = "il \xc3\xa9tait une fois"long_string = "1 and a 2 and a 3 and a "puts data.join(' and a ')# numbernumber = 5puts "The number...
阅读全文

浙公网安备 33010602011771号