Hacker News new | ask | show | jobs
by onesmallcoin 2410 days ago
What about len(str('12345')) If your teaching python you may as well take advantage of the standard library
1 comments

If you read the article, you will see that this solution was covered at the end.