- Introduction to programming, Python, and Spyder IDE
- Making comments
- "Hello World"
- Definition of a variable
- Various types of objects
- Casting
- Expressions with various data types and operators
- Manipulating variables with expressions
- 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
- Optional but students usually like this because the computer pauses before responding which makes it more human
- Use the
time
module to delay
- Take user input
- When to cast
- Printing statements relative to the user input
if
statements- Logical operators
> < >= <= == !=
and
,or
if elif else
for
loopwhile
loopbreak
,continue
- How to use
random
- Defining functions
return
statements- Calling functions
- Parameters vs Arguments
- Discuss scopes of variables defined in and out of a function
- 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
- Students learn how to read from a file