Python & SQL BibleChapter 222
Data Structures
Section 3 of 6-~ 12 min read-Synced from Cuantum content
- List
my_list = [1, 2, 3, 4, 5]- Dictionary
my_dict = { "brand": "Ford", "model": "Mustang", "year": 1964}- Tuples
my_tuple = ("apple", "banana", "cherry")- Sets
my_set = {"apple", "banana", "cherry"}