a,b = 0,1
while b <10:
print(b)
a,b = b,a+b #先执行右边的计算,并且按照未修改后的值进行计算
print("------------")
a,b = 0,1
while b < 10:
print(b)
k = b
b = a+b
a = k
a,b = 0,1
while b <10:
print(b)
a,b = b,a+b #先执行右边的计算,并且按照未修改后的值进行计算
print("------------")
a,b = 0,1
while b < 10:
print(b)
k = b
b = a+b
a = k