問題是按順序排列行并正確縮進。我什么都寫不出來,只需要整理一下。問題在圖片中。我的答案捕獲有什么問題
uj5u.com熱心網友回復:
嘗試這個:
for i in range(1,6):
if i == 1:
print(i, 'little bear')
else:
print(i, 'little bears')
print('Wondering what to do')
print('Along came another')
print('Then there were', i 1, '!')
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/444581.html
上一篇:根據R中的條件修改值
