返回列表 發帖

for 迴圈 (一)

直向顯示第1名~第5名

  1. for i in range(1,6):
  2.     print("第",i,"名")
複製代碼

  1. for i in range(1,6):
  2.     print("第",i,"名")
複製代碼

TOP

  1. for i in range(1,6):
  2.     print("第",i, "名")
複製代碼

TOP

  1. for i in range(1,6):
  2.   print("第",i,"名")  
複製代碼

TOP

  1. for i in range(1,6):
  2. print("第",i,"名")
複製代碼

TOP

  1. for i in range(1,6):
  2.     print("第",i,"名")
複製代碼

TOP

返回列表