308

2 分钟

#tuple

说明:类型转换为 tuple

def tuple(x): ''' 类型转换为 tuple :param x: 一个变量 :return: 转换为 tuple 后的值 '''

示例:

print(tuple([1, 1, 1, 2, 2, 3, 3, 4, 5, 5, 6]))

>>> Establishing WebAssembly Runtime.

>>> Standby.

Powered by Shift.

创建于 2025/5/9

更新于 2025/5/11