digits in a number python