Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- numbers = [5,4,3,2,1]
- for i in range(len(numbers)):
- for j in range(i+1):
- print(numbers[i-j], end= ' ')
- print('')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement