Skip to content

Instantly share code, notes, and snippets.

@Xotabu4
Created February 7, 2016 08:52
Show Gist options
  • Save Xotabu4/19a8d2f7df0e6f6dbd7b to your computer and use it in GitHub Desktop.
Save Xotabu4/19a8d2f7df0e6f6dbd7b to your computer and use it in GitHub Desktop.
x = int(input('enter number'))
result = str(x)
for i in range(x):
if i == 0:
continue
result = result + ' ' + str(x - i)
print(result)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment