首页
编程
java
php
前端
首页
编程
java
php
前端
请各位家人看看这个吧
首先,获得输入的字符串;
然后,通过函数 len() 获得字符串长度并赋值给n;
最后,输出字符串长度n
s
=
input
()
n
=
len
(
s
)
print
(
n
)
点击展开全文