Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = 5
- result = str(x)
- i = x
- while i != 0:
- if i !=x:
- result = result + ' ' + str(i)
- print(result)
- i -= 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement