Skip to content

Latest commit

 

History

History
59 lines (46 loc) · 1.42 KB

timeline.md

File metadata and controls

59 lines (46 loc) · 1.42 KB

What's covered?

001_helloworld.py

  • Introduction to programming, Python, and Spyder IDE
  • Making comments
  • "Hello World"

002_variables.py

  • Definition of a variable
  • Various types of objects
  • Casting

003_expressions.py

  • Expressions with various data types and operators
  • Manipulating variables with expressions

004_tuples_lists.py

  • Using tuples to make lists of other objects and variables
  • Accessing a specific item from a tuple
  • Swapping variable values with a tuple
  • list in Python

time.py

  • Optional but students usually like this because the computer pauses before responding which makes it more human
  • Use the time module to delay

005_userinput.py

  • Take user input
  • When to cast
  • Printing statements relative to the user input

006_decisions.py

  • if statements
  • Logical operators > < >= <= == !=
    • and, or
  • if elif else

007_loops_random.py

  • for loop
  • while loop
  • break, continue
  • How to use random

008_functions.py

  • Defining functions
  • return statements
  • Calling functions
  • Parameters vs Arguments
  • Discuss scopes of variables defined in and out of a function

010_turtle.py

  • Learn how to use turtle to make graphics with Python
  • Use loops, functions, random, lists, etc.

Create Pong with students and skip File I/O unless there's time for both

011_file_io.py

  • Students learn how to read from a file