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

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                #### append ~~~ 增 list.append(3) ~~~ #### del 刪 ~~~ del list[0] ~~~ #### clear ``` 清空 list.clear() ``` #### copy ``` 復制 a = [1, 2, 3] b = a b[0] = 5 # a現在是[5, 2, 3] ``` #### count ``` 計算指定元素在列表中出現的次數 str = [1, 2, 3, 4, 2, 1, 4] print(str.count(1)) # 2 ``` #### extend ~~~ a = [1, 2, 3] b = [4, 5, 6] c = a + b # 產生一個新的list print(a, b, c) # [1, 2, 3] [4, 5, 6] [1, 2, 3, 4, 5, 6] print(type(a), type(b), type(c)) print(id(a), id(b), id(c)) # 30237320 30237384 30854984 a = [1, 2, 3] b = [4, 5, 6] print(id(a)) # 34713736 a.extend(b) # 不產生新的list print(a, b) print(type(a), type(b)) print(id(a), id((b))) # 34713736 33710728 ~~~
                  <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>

                              哎呀哎呀视频在线观看