本文共 305 字,大约阅读时间需要 1 分钟。
L = ['Adam', 'Lisa', 'Bart']for name in L: print name
N = 10x = 0while x < N: print x x = x + 1
sum = 0x = 1while True: sum = sum + x x = x + 1 if x > 100: breakprint sum
for x in L: if x < 60: continue sum = sum + x n = n + 1
转载地址:http://nsrso.baihongyu.com/