Created
February 7, 2016 08:52
-
-
Save Xotabu4/19a8d2f7df0e6f6dbd7b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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