Advertisement
dimkiriaoks

Untitled

Nov 13th, 2021
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. numbers = [5,4,3,2,1]
  2. for i in range(len(numbers)):
  3.     for j in range(i+1):
  4.         print(numbers[i-j], end= ' ')
  5.     print('')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement