字符串作为参数传递给函数,我们就能得到字符串的长度。 下面,我们通过一个实例来演示一下:str ="Tutorials". print("Length of the String is:", len( ...
確定! 回上一頁