元组
>>> x = (520,)>>> x
(520,)
>>> type(x)
<class 'tuple'>
>>> y = (520)
>>> y
520
>>> type(y)
<class 'int'>
>>> t = (123, "FishC", 3.14)
>>> x, y, z = t
>>> x
123
>>> y
'FishC'
>>> z
3.14
>>> s =
>>> t =
>>> w = (s, t)
>>> w
(, )
>>> w = 0
>>> w
(, )
页:
[1]