Google Slides

Objectives

  • Master the concepts of iteration, list, 2d-arrays, Dictonaries, and APIs

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

Q1: Basic List/Array Manipulation

- What will be the output of this code segment?

list = ["hat", "shoes", "shirt", "pants"]

list.append("Hi")
list.remove("hat")
list.reverse()

print(list)
['Hi', 'pants', 'shirt', 'shoes']

Q2: Dictionaries

 

Q3: Iteration

  • Show Robot Game on the Website
  • Ask question about it
 

Q4: API

  • Show Pizza Game on websie
  • Ask question about it
 

Hacks

  • Answer all questions
  • Make