回答編集履歴
2
リンク追加
test
CHANGED
@@ -3,3 +3,11 @@
|
|
3
3
|
条件演算子は `and` と `or` です。
|
4
4
|
|
5
5
|
演算優先順位が違います。
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
参考:
|
10
|
+
|
11
|
+
[https://docs.python.org/ja/3/library/stdtypes.html#truth-value-testing](https://docs.python.org/ja/3/library/stdtypes.html#truth-value-testing)
|
12
|
+
|
13
|
+
[https://docs.python.org/ja/3/reference/expressions.html#operator-summary](https://docs.python.org/ja/3/reference/expressions.html#operator-summary)
|
1
説明補足
test
CHANGED
@@ -1,3 +1,5 @@
|
|
1
1
|
`&` はビット論理積演算子ですよ。
|
2
2
|
|
3
3
|
条件演算子は `and` と `or` です。
|
4
|
+
|
5
|
+
演算優先順位が違います。
|