Skip to content

Instantly share code, notes, and snippets.

@Svastikkka
Created June 12, 2020 10:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Svastikkka/c1065b071e8ac730394da0eedad67877 to your computer and use it in GitHub Desktop.
Save Svastikkka/c1065b071e8ac730394da0eedad67877 to your computer and use it in GitHub Desktop.
def reverse(n):
#Implement Your Code Here
n=str(n)
print(int("".join(reversed(n))))
n=int(input())
result = reverse(n)
@Svastikkka
Copy link
Author

Reverse of a number

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment