📅  最后修改于: 2022-03-11 14:45:19.843000             🧑  作者: Mango
代码示例1
string = "mystring"
tuple1 = tuple(string)
# ('m', 'y', ' ', 's', 't', 'r', 'i', 'n', 'g')
tuple2 = string,
# ("my string",)