LoginSignup
0

More than 5 years have passed since last update.

ずんだの縦読み問題 Ruby編

Last updated at Posted at 2018-09-27

縦読みだ。

Ruby

tweet = <<-EOS
忙しくてついったいじれない
さみしい
つらい
EOS
puts tweet.each_line.map{|e|e[0]}.join

# => 忙さつ

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0