tuple
拆包属性,不可变对象
user_tuple = ('ha', 22, 175,)
name, age, height = user_tuple
print(name, age, height)
第二种形式
user_tuple = ('ha', 22, 175)
name, *other = user_tuple
print(name, other)
元组的不可变不是绝对的,在元组中放入可修改对象时则可以修改,在实际使用中要避免这种情况
user_tuple = ('ha', 22,