Python Break 语句 Python 嵌套循环 Python Continue 语句 Python Break 语句 #!/usr/bin/python for letter in 'Python': # First Example if letter == 'h': break print 'Current Letter :', letter var = 10 # Second Example while var > 0: print 'Current variable value :', var var = var -1 if var == 5: break print "Good bye!" Python 嵌套循环 Python Continue 语句