Data Structure
![]()
![]()
▪ List [3, 1, 5]
– Indexing, slicing, in statement, sort, list comprehension![]()
![]()
Pop()删除最后一个,有参数就删除参数那一个数 remove() 直接删除那个值,而不是那个位置的值
![]()
▪ Tuple (1, 7)
– for "chunking" related information that belongs together![]()
▪ Set {1, 5, 3}
unique, unordered不能有重复行![]()
▪ Dictionary {1:”a”, 2:”b”}
– Each data item is represented as key:value
Conclusion
![]()