Paste Search Dynamic
Recent pastes
i in range
  1. for i in range(1, 7): #產生一個 1,2,3,4,5,6 的整數序列
  2.         for j in range(i, 1, -1): #-1 表示階值(step value)
  3.                 print(" ", end="")
  4.         for j in range(1, 7-i+1):
  5.                 print(j, end="")
  6. print()
  7. # your code goes here
Parsed in 0.002 seconds