Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Well done!
You have completed (UPI) Chapter 9: Introduction to Python Data Structures: Lists, Tuples, and Dictionaries!
You have completed (UPI) Chapter 9: Introduction to Python Data Structures: Lists, Tuples, and Dictionaries!
Instruction
Lists
Lists are baskets that can contain different kinds of things. They are ordered, so that there is a first element, and a second element, and a last element, in order. However, the kinds of things in a single list donβt have to be the same type.
test_list = ["apple", 3, True, "Harvey", 48205]
test_list
Output:
['apple', 3, True, 'Harvey', 48205]
There are vario...