For this Question: Given a number, you task is to reverse its digits. If the reversed number contains 0s in the beginning, you must remove them as well.First line consists of a single integer denoting n.

Constraint:-
1<=size of n<=100Output is a single line containing reversed number n.Sample Input
123445

Sample Output
544321

Sample Input
16724368

Sample Output
86342761, I have written this Solution Code: n=int(input())
def reverse(n):
    return int(str(n)[::-1])
print(reverse(n)), In this Programming Language: Python, Now tell me if this Code is compilable or not?