沈甄軒{集合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內建built-in函數functions迴圈loop

沈甄軒金融市場常識

沈甄軒Python字串string方法methods