📜  位数计算 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:09.577000             🧑  作者: Mango

代码示例2
number_of_digits = 0
    a_variable = input
    while a_variable >= 1:
        number_of_digits += 1
        a_variable /= 10
#Just translated Kind Kinkajou's answer to python.
#Please support him.
#Profile link: https://www.codegrepper.com/app/profile.php?id=341732