Resources
Course list of Resources
Python Tutor
Python Primitives
- Integers
- Floats
- Strings
- Boolean
- NoneType–special and has one value, None
Types of objects
- scalar (cannot be subdivided)
- ◦non-scalar (have internal structure that can be accessed)
Python Operations
- i+j -> the sum
- i-j -> the difference
- i*j -> the product
- i/j -> division
- i//j -> int division
- i%j -> the remainder when i is divided by j
- i**j -> i to the power of j
Conditionals
Loops
Weird String stuff
Some not all string methods
MIT CS 6.0 (EDX) lecture slides