1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Ruby で """" < """" <=> """" > """"

Posted at

暇つぶし記事です。たいして面白くはありません。

第 1 問

何が表示される?

p 3 => 2 >= 1
答えはここをめくってね `{3=>true}`

第 2 問

何が表示される?

p 4 >= 3 => 2 >= 1
答えはここをめくってね `{true=>true}`

第 3 問

何が表示される?

p ">=" > ">" => "=>" > ">"
答えはここをめくってね `{true=>false}`

第 4 問

何が表示される?

p """" < """" <=> """" > """"
答えはここをめくってね `0`
1
0
2

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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?