Advertisement
Guest User

Untitled

a guest
Feb 7th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. x = 5
  2. result = str(x)
  3. i = x
  4. while i != 0:
  5. if i !=x:
  6. result = result + ' ' + str(i)
  7. print(result)
  8. i -= 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement