Skip to content

Instantly share code, notes, and snippets.

@popey456963
Created November 5, 2015 13:55
Show Gist options
  • Save popey456963/c26030363ff72c257efd to your computer and use it in GitHub Desktop.
Save popey456963/c26030363ff72c257efd to your computer and use it in GitHub Desktop.
Descending Order Array
n=int(input())
d = []
for i in range(n):
d.append(int(input()))
print(" ".join([str(i) for i in sorted(d,reverse=True)]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment