📜  python代码示例中的元组和列表

📅  最后修改于: 2022-03-11 14:47:08.387000             🧑  作者: Mango

代码示例1
#to create a tuple you use ( ) :
myTuple = ()
#but to create a list you use [ ] :
myList = []
#tuples cannot be changed while the lists can be modified but Tuples are
#more memory efficient


#Code_Breaker