How to count number of digits in a string in python July 8, 2019 16 32 64 128 Count number of digits in a number How to print first digit of a number in python