try: Number = int(input("Input any Number:- ")) converson = str(Number) Size = len(converson) print("The size of Intger is ",Size) except: print("Input is incorrect")