for i in range(1,5):
print "a"+str(i) = i希望實現(xiàn)的功能是輸出a1=1 a2=2 a3=3 a4=4,而上面那個代碼會報錯,請問如何修改?
for循環(huán)中的變量命名的問題
繁星coding
2018-07-17 11:12:00