Section 1

Lesson 1

Code 1.1: Defining numerical variables
Code 1.2: Using the print() function
Code 1.3: Using comments in your code

Lesson 2

Code 1.4: Defining string variables
Code 1.5: Using different quotes around strings
Code 1.6: Concatenating strings
Code 1.7: Using triple quotes around strings

Lesson 3

Code 1.8a: Division using integer math in Python 3
Code 1.8b: Division using integer math in Python 2
Code 1.9: Operator precedence in Python math
Code 1.10: Using parentheses to force precedence
Code 1.11: Breaking long lines of Python code with the forward slash
Code 1.12: The native Python math operators
No type declarations needed when initializing Python variables
Code 1.13: Our first real piece of Python code!
You can change the types of your Python variables on the fly (but should you?)

Workshop 1

Exercise 1.1