摘要: 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 阅读全文
posted @ 2011-11-22 20:31 MagicLetters 阅读(173) 评论(0) 推荐(0) 编辑