返回列表 發帖
  1. # -*- coding: utf-8 -*-
  2. """
  3. Spyder Editor

  4. This is a temporary script file.
  5. """
  6. list=["忠","孝","仁","愛","信","義","和","平"]
  7. print(list[0])
  8. print(list[1:6])
  9. print(list[-1])
複製代碼

TOP

返回列表