fork download
  1. # your code goes here
  2. for i in range(5):
  3. for j in range(i+1):
  4. print(j,end=" ")
  5. print()
Success #stdin #stdout 0.1s 14188KB
stdin
Standard input is empty
stdout
0 
0 1 
0 1 2 
0 1 2 3 
0 1 2 3 4