how to get length of int in python code example Example: len of int python len(str(n)) #n is a number