0
0

More than 3 years have passed since last update.

比較演算の連続

Posted at

1 < x < 10 などの記述ができるんだよ,という記事は多いけど,別に2つの比較演算を単純に記述できるだけじゃないんだね。

1 < 2 <= 2 < 3 == 3 > 2 >= 1 == 1 < 3 != 5

の結果はどうなる?

順番にやっていけばわかるけど,True だ。

0
0
0

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
0