find length of integer python code example Example 1: how to find length of number in python len(str(133)) Example 2: len of int python len(str(n)) #n is a number