è¨èªå¦ç100æ¬ãã㯠ã(飽ããã¾ã§)ãã£ã¦ã¿ãã«ããããæ¢ãã¦Rubyã§æ¸ãã¦ã¿ãã åºæ¬çã«ã¯Pythonãæ³å®ãã¦ãããããããããããNLPã©ã¤ãã©ãªã®å å®åº¦ããè¨ã£ã¦ãPythonã使ãã®ã極ãã¦å¦¥å½ãªé¸æã¨ãããã ããããããæ¢ãã¦Rubyã§ã 00. æååã®éé puts "stressed".reverse Rubyã§ãPythonã§ã大差ãªãã 01. ããã¿ãã¯ã«ã·ã¼ã¼ã str = "ãã¿ãã¯ã«ã·ã¼ã¼" puts 1.step(7, 2).map{|i| str[i]}.join ãã¯ãã¹ã©ã¤ã¹ã«stepãæå®ã§ããPythonã®ã»ãã楽ã§ããã 02. ãããã«ã¼ãï¼ãã¿ã¯ã·ã¼ãï¼ããã¿ãã¯ã«ã·ã¼ã¼ã strs = %w[ããã«ã¼ ã¿ã¯ã·ã¼] puts strs.map(&:chars).inject(&:zip).flatten.join å¥è§£ strs =
{{#tags}}- {{label}}
{{/tags}}