以下是使用 Python 语言解决此问题的代码: ```python num = int(input()) count = len(str(num)) print(f"{num}是{count}位数") ``` [2024-11-10 12:27:42 | AI写代码神器 | 42点数解答]