下麵的例子顯示了len()方法的使用。 #!/usr/bin/python str = "this is string example....wow!!!"; print "Length of the string: ", len(str);.
確定! 回上一頁