Week 3: Control Flow and Functions¶

Python for Social Data Science¶

Tom Paskhalis¶

Overview¶

  • Straight-line and branching programs
  • Control flow
  • Conditional statements and loops
  • Iterables
  • List comprehensions
  • Functions

Algorithms¶

Source: Origami Club

Algorithm flowchart¶