-->
当前位置:首页 > 题库

PROGRAMMING:Find the length of string

Luz5年前 (2021-05-10)题库566
Write a function to find the effective length of a string. Enter a string in the main function and output its length.
###Input format:
Enter a string no more than 20 in length, with no spaces in the middle.
###Output format:
The length of the output string is * * the effective length of the string * *.
###Input example:
```in
China
```
###Output example:
```out
The length of string is 5.
```







answer:If there is no answer, please comment