zlacker

[return to "My Favorite Programming Problem to Teach: Digit Length"]
1. onesma+2f[view] [source] 2019-11-11 01:11:22
>>jstrie+(OP)
What about len(str('12345')) If your teaching python you may as well take advantage of the standard library
◧◩
2. woat+gf[view] [source] 2019-11-11 01:16:20
>>onesma+2f
If you read the article, you will see that this solution was covered at the end.
[go to top]