Skip to content

Instantly share code, notes, and snippets.

@Xotabu4
Created February 7, 2016 08:49
Show Gist options
  • Select an option

  • Save Xotabu4/1b38e867aebb906ab6a9 to your computer and use it in GitHub Desktop.

Select an option

Save Xotabu4/1b38e867aebb906ab6a9 to your computer and use it in GitHub Desktop.
x = int(input('enter number'))
result = str(x)
for i in range(1, x):
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