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