Posts by Lucas Gabriel • 21 points
1 post
-
2
votes3
answers8551
viewsQ: Get the number of digits in a number
I was asked to make an algorithm in Python to know the number of digits in a number, there is a way to do without the manipulation of strings? def achaTamanho(x): a = str(x) if len(a) > 1: if…