Number Of Digits In Coding Ninjas Python