Python, Variables, and Functions-Welcome to the Course
Welcome to LTP
()
Syllabus
Course Logistics
Resources
Installing Python
()
Installing Python
Python, Variables, and Functions-Getting Started
Python as a Calculator
()
Python as a Calculator
Python and Computer Memory
()
Python and Computer Memory
Python, Variables, and Functions-Variables and Functions
Variables
()
Variables
Visualizing Assignment Statements
()
Visualizing Assignment Statements
Built-in Functions
()
Built-in Functions
Defining Functions
()
Defining Functions
Strings and Designing Functions-Strings
Type str
()
Type str
Input/Output and str Formatting
()
Input/Output and str Formatting
Docstrings and Function Help
()
Docstrings and Function help
Strings and Designing Functions-Designing Functions
Function Design Recipe
()
Function Design Recipe
Function Reuse
()
Function Reuse
Visualizing Function Calls
()
Visualizing Function Calls
Booleans, Import, Namespaces, and if Statements-Built-in types
Functions, Variables, and the Call Stack
()
Functions, Variables, and the Call Stack
Type Bool
()
Type Bool
Converting Between int, str, and float
()
Converting Between int, str, and float
Import: Using Non-Built-in Functions
()
Import: Using Non-Built-in Functions
Booleans, Import, Namespaces, and if Statements-If statements
If Statements
()
If Statements
No if Required
()
No if Required
Structuring if Statements
()
Structuring if statements
For Loops and Fancy String Manipulation-Fancy string processing
More str Operators
()
More str Operators
Str: Indexing and Slicing
()
Str: Indexing and Slicing
Str Methods: Functions Inside of Objects
()
Str Methods: Functions Inside of Objects
For Loop Over Str
()
For Loop Over Str
For Loops and Fancy String Manipulation-IDLE's Debugger
IDLE's Debugger
()
IDLE's Debugger
While Loops, Lists, and Mutability-While loops
While Loops
()
While Loops
While Loops, Lists, and Mutability-Comments
Comments
()
Comments
While Loops, Lists, and Mutability-Lists, list methods, and mutating lists
Type list
()
Type list
list Methods
()
list Methods
Mutability and Aliasing
()
Mutability and Aliasing
range
()
range
For Loops Over Indices, Parallel and Nested Lists and Strings, and Files-Parallel lists and strings
For Loop Over Indices
()
For Loop Over Indices
Parallel Lists and Strings
()
Parallel Lists and Strings
For Loops Over Indices, Parallel and Nested Lists and Strings, and Files-Nested lists and loops
Nested Lists
()
Nested Lists
Nested Loops
()
Nested Loops
For Loops Over Indices, Parallel and Nested Lists and Strings, and Files-Files
Reading Files
()
Reading Files
Writing Files
()
Writing Files
For Loops Over Indices, Parallel and Nested Lists and Strings, and Files-An example of developing a program from start to finish
Developing a Program
()
Tuples and Dictionaries-Tuples and Dictionaries
Tuples
()
Tuples
Type dict
()
Type dict
Inverting a Dictionary
()
Inverting a Dictionary
Populating a Dictionary
()