ap2 and python
2019年5月20日 星期一
取 list 任一項目
=====python ======
index01=int(input("請輸入0至5任一數字"))
scorelist=[10,20,30,40,50,60]
print(scorelist[index01])
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言