# 21/3 筆記 ## for迴圈 走訪每一個元素 即由頭到尾執行 lst=['a','b','c','d','e','f'] #針對lst中的每一個元素i(也就是說,我們用i代表每一個元素) #loop #走訪串列的每個元素 for i in lst: print(i) #i會由a-f執行一次 即會列印出a-f
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up