Finish Python Tutorial




CS156

Chris Pollett

Sep 12, 2022

Outline

Introduction

Dictionaries

Iteration and Looping

Examples of things can iterate over with for

Functions

Function Scoping, Functions as Variables

Quiz

Which of the following is true?

  1. Depth first search is a complete search strategy.
  2. `A^\star` search is an informed search strategy with fitness function given by the equation `f = c + h`.
  3. Python uses curly braces, { and }, to denote the beginning and ending of a code block.

Generators

Coroutines

Objects and Classes