返回列表 發帖

for 迴圈 (一)

直向顯示第1名~第5名

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

for i in range(1,6):
    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

  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. [code]for i in range(1,6):
  2.     print("第",i,"名")
複製代碼
[/code]

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,"名")
複製代碼
Ivy

TOP

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

TOP

返回列表