#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Date    : 2018-05-07 10:02:06
# @Author  : money (money89757757@163.com@)

import os
'''
No1.基本格式
for <value> in <value>:
	<statements>
else:
	<statements>
'''

'''
No2.for语句中的break，break语句用于跳出当前循环体：
sites = ["Baidu","Google","huawei","Taobao"]
for site in sites:
	if site == "huawei":
		print("huawei")
		break
	print("循环数据"+site)
else:
	print("没有循环数据")
print("循环结束") 

'''

