字符串 的索引 切片

字符串的構造(創建)函數   str(x)  返回一個對象的字符串表求方法 示例:   str(10)    # '10'   str(0x0a)  # '10'   str(True)  # 'True'   str(None)  # 'None'   str(3.14)  # '3.14'   str(1+2J)  # '(1+2j)'   bool(x)  / int(x)   / comp
相關文章
相關標籤/搜索