<dd id="sga4y"><optgroup id="sga4y"></optgroup></dd>
<nav id="sga4y"><code id="sga4y"></code></nav>
  • <optgroup id="sga4y"></optgroup>
    ???? Python ???
    ??6?? ??????
    ???? continue??? ????

    continue???

    continue???????????Python??????????????????????? ???? ??????????????

    ???continue???

    ??6.5 ???continue???

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


    while True:
        s = raw_input('Enter something : ')
        if s == 'quit':
            break
        if len(s) < 3:
            continue
        print 'Input is of sufficient length'
        # Do other kinds of processing here...

    ????????code/continue.py??

    ???

    $ python continue.py
    Enter something : a
    Enter something : 12
    Enter something : abc
    Input is of sufficient length
    Enter something : quit

    ???????

    ???????????????????????????????????????????????????3??????????????????????????????????????len?????????????????????3??????????continue???????????????????????????????????????????????????????????????ʦ????

    ???continue??????for????????


    ???? ????? ????
    break??? ??? ????
    ?????
    @ssv 97av