tup1 = (12,34,56)
print(tup1)
del tup1 #删除了整个元组变量,不是删除内部的值
print(tup1) #'tup1' is not defined
1、元组的概念
最新推荐文章于 2022-06-03 11:11:21 发布
tup1 = (12,34,56)
print(tup1)
del tup1 #删除了整个元组变量,不是删除内部的值
print(tup1) #'tup1' is not defined