float also accepts the strings “nan” and “inf” with an optional prefix “+” or ... remove leading zeros and minus sign return len(s) # len('100101') --> 6.
確定! 回上一頁