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