P4-M 4/21 Big Idea 3 through Games
Lesson about Big Idea 3 through Games like Robot
- Google Slides
- Objectives
- Vocab
- Q1: Basic List/Array Manipulation
- - What will be the output of this code segment?
- Q2: Dictionaries
- Q3: Iteration
- Q4: API
- Hacks
Vocab
- Iteration: A process that repates itself
- Array: Sometimes called a list, can keep strings and intergers inside it
- Mutable: the ability to be changed or modified
- Inseration: Inserting a new value into a Dictionary
- Deletion: Deleting a value inside of a Dictionary
- Key: A Singular identifier that is associated with a certin value inside a Dictionary
- API: Application programming interface, an external program that can be accessed for data
list = ["hat", "shoes", "shirt", "pants"]
list.append("Hi")
list.remove("hat")
list.reverse()
print(list)