Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def quant(n):
- cont = 0
- control = False
- p = n//10
- while control == False:
- cont += 1
- p = n//10
- if p<10:
- control = True
- return cont
- n = int(input("Digite: "))
- #quant(n)
- print("{}".format(quant(n)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement