<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                >[success] # 運算符 ~~~ 1.算術運算符 2.比較運算符 3.賦值運算符 4.邏輯運算符 5.優先級,()> not > and > or ~~~ >[danger] ##### 算術運算符 ~~~ 1.以下假設變量:a=10,b=20 ~~~ ![](https://box.kancloud.cn/961ff069b6f62d3521f03ae005c3e6f7_763x236.png) >[danger] ##### 比較運算符 ~~~ 1.以下假設變量:a=10,b=20 ~~~ ![](https://box.kancloud.cn/ef24eaf3fc246b563764158f9e860994_775x276.png) >[danger] ##### 賦值運算符 ~~~ 1.以下假設變量:a=10,b=20 ~~~ ![](https://box.kancloud.cn/b9700a0c1276f352e36bac865e53f23d_769x273.png) >[danger] ##### 邏輯運算符 ~~~ 1.優先級,()> not > and > or 2.如果是數字形式 x or y , x為真,值就是x,x為假,值是y; x and y, x為真,值是y,x為假,值是x。 3.OR,相當于將兩個觸點并聯;只要有一個就能走通 AND,相當于將兩個觸點串聯;兩個都走才能通 ~~~ ![](https://box.kancloud.cn/084be089e99c1314b87c531e9391750f_767x114.png) >[danger] ##### 案例 ~~~ 1.當單個數字的時候,會打印出數字結果 2.優先級,()> not > and > or ~~~ ~~~ print(2 or 1 < 3) print(3 > 1 or 2 and 2) 打印結果: 2 True ~~~ * 案例二 ~~~ print(3>4 or 4<3 and 1==1) # F print(1 < 2 and 3 < 4 or 1>2) # T print(2 > 1 and 3 < 4 or 4 > 5 and 2 < 1) # T print(1 > 2 and 3 < 4 or 4 > 5 and 2 > 1 or 9 < 8) # F print(1 > 1 and 3 < 4 or 4 > 5 and 2 > 1 and 9 > 8 or 7 < 6) # F print(not 2 > 1 and 3 < 4 or 4 > 5 and 2 > 1 and 9 > 8 or 7 < 6) # F 打印結果: False True True False False False ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看