首页
编程
java
php
前端
首页
编程
java
php
前端
求解答,用python解决问题,
用python做题,怎么计算一个数字有几位数?
比较简单的写法:
number
=
12345678901
print(
len
(str(
number
)))
// 11
点击展开全文