convert number into digits python