Advertisement
FelipeNeto2

Número de dígitos

Jul 25th, 2019
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.10 KB | None | 0 0
  1. p = int(input("Digite o número: "))
  2.  
  3. auxp = p
  4. contp = 0
  5. while auxp !=0:
  6.   auxp//=10
  7.   contp+=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement