<pre id="vvttv"><mark id="vvttv"><progress id="vvttv"></progress></mark></pre>
    <pre id="vvttv"></pre>

      <p id="vvttv"></p>

          <p id="vvttv"></p>

                <p id="vvttv"></p>

                <pre id="vvttv"><cite id="vvttv"><progress id="vvttv"></progress></cite></pre>

                  <output id="vvttv"><dfn id="vvttv"><th id="vvttv"></th></dfn></output>

                    <p id="vvttv"></p>

                    ???? Python ???
                    ??6?? ??????
                    ???? break??? ????

                    break???

                    break????????? ??? ???????????????????????г??False?????л???б??????飬????????????

                    ????????????????????for??while????? ??? ???κζ???????else?齫????С?

                    ???break???

                    ??6.4 ???break???

                    #!/usr/bin/python
                    # Filename: break.py


                    while True:
                        s = raw_input('Enter something : ')
                        if s == 'quit':
                            break
                        print 'Length of the string is', len(s)
                    print 'Done'

                    ????????code/break.py??

                    ???

                    $ python break.py
                    Enter something : Programming is fun
                    Length of the string is 18
                    Enter something : When the work is done
                    Length of the string is 21
                    Enter something : if you wanna make your work also fun:
                    Length of the string is 37
                    Enter something :       use Python!
                    Length of the string is 12
                    Enter something : quit
                    Done

                    ????ι???

                    ??????????У??????????????????????????????????????????????????????????????????????????????????????'quit'????? ??? ???????????β????????

                    ??????????????????????len??????á?

                    ?????break??????????for???????á?

                    G2??Python?

                    ???????????????????д?????С??????G2??Python???

                    Programming is fun
                    When the work is done
                    if you wanna make your work also fun:
                          use Python!


                    ???? ????? ????
                    for??? ??? continue???
                    ?????
                    @ssv

                      <pre id="vvttv"><mark id="vvttv"><progress id="vvttv"></progress></mark></pre>
                      <pre id="vvttv"></pre>

                        <p id="vvttv"></p>

                            <p id="vvttv"></p>

                                  <p id="vvttv"></p>

                                  <pre id="vvttv"><cite id="vvttv"><progress id="vvttv"></progress></cite></pre>

                                    <output id="vvttv"><dfn id="vvttv"><th id="vvttv"></th></dfn></output>

                                      <p id="vvttv"></p>

                                      这里只有精品视频