摘要:
The functiontuple(seq)converts any sequence (actually, any iterable) into a tuple with the same items in the same order.For example, tuple([1, 2, 3]) yields (1, 2, 3) and tuple('abc') yields ('a', 'b', 'c'). If the argument is a tuple, it does not make a copy but retu 阅读全文