余金恆(集合SRT)(串列LIST)((元組tuple){字典:dict}

this =["apple","banana","cherry","小","中"]
that=("元組","tuple","貓","豬","狗")
print(this)
for i in range(-4,4):
   print(i, this[i])
for i in range(-5,5):
   print(i, that[i])

留言

這個網誌中的熱門文章

余金恆 VS Cord 俄羅斯方塊maintain維護增加顯示render物件

余金恆VS code編輯網頁程式html,css,javascript

余金恆tkinter套件建立圖形使用者介面GUI=Graphical User Interface