tup1 = ('Google', 'Runoob', 1997, 2000)
print(tup1)
print(id(tup1))
print(type(tup1))
print(dir(tup1))
print(tup1[-1::-1])
最后
以上就是开放铃铛最近收集整理的关于python元组案例的全部内容,更多相关python元组案例内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
tup1 = ('Google', 'Runoob', 1997, 2000)
print(tup1)
print(id(tup1))
print(type(tup1))
print(dir(tup1))
print(tup1[-1::-1])
以上就是开放铃铛最近收集整理的关于python元组案例的全部内容,更多相关python元组案例内容请搜索靠谱客的其他文章。
发表评论 取消回复