1. Introduction to Python
  2. 1. Week 1 - Github, Prairielearn, variables, string functions and operators
  3. 2. Week 2 - Functions, Lists, Strings and Control Flow Tools
  4. 3. Week 3 - Advanced Control Flow, Files, Sets and Dictionaries
  5. 4. Week 4 - File I/O, Dictionaries, and Tuples
  6. 5. Week 5 – Object Oriented Programming and Classes

UCSD CSE8A Summer Session II 2024

Week 2 – Functions, Lists, Strings and Control Statements (If else & loops)

Lecture Materials

  • Monday's Lecture Handout (PDF)
  • Monday's Slides (PDF)
  • Wednesday's Lecture Handout (PDF)
  • Wednesdays's Slides (PDF)
  • Thursday's Lecture Handout (PDF)
  • Thursday's Slides

Discussion Materials

  • Monday's Discussion Colab Notebook
  • Monday's Discussion Slides (PDF)
  • Monday's Discussion Colab Notebook - Solutions

Colab Notebooks:

  • Functions & Scoping Colab Notebook
  • Basic Topic Overview Colab Notebook
  • Advanced Conditionals Colab Notebook
  • If Statements Colab Notebook
  • Logic, Inputs and if statement Intro Colab Notebook
  • Loops, Lists and Files Colab Notebook

Lab Tasks

Navigate to PrairieLearn and begin the Lab 2 tasks with your group!