for循环及用for循环写猜年龄游戏
for循环:for i in range(0,10,2): print("loop",i)for循环写猜年龄:age_of_XueKe=18for i in range(3): age = int(input("age:")) if age == age_of_XueKe: print("Yes,you got it!") break ...