呂思嫻{集合SET}[串列LIST](元組TUPLE){字典:DICT和集合一樣但key所以:冒號value值}

this=["呂思嫻","檢舉", "小","中"]
that=("元組","tuple","貓","豬","狗")
print(this)
for i in range(-4, 4):
   print(i, this[i])
for i in range(-5, 5):
   print(i, that[i])

截圖

留言

這個網誌中的熱門文章

呂思嫻Python字串string方法methods

呂思嫻bro code貪吃蛇random.randint