General Introduction-Welcome to Python Basics!
Introduction to the Specialization
()
What’s New? Updates and Improvements in the Second Edition
()
Syllabus
How to Use the Interactive Textbook
()
Getting Started
()
Help Us Learn More About You!
General Introduction-Programming in Python
Introduction - Programming in Python
()
Values and Data Types
()
Operators and Operands
()
Function Calls
()
Data Types
()
Type Conversion Functions
()
Variables
()
Statements and Expressions
()
More About Statements and Expressions
()
Updating Variables
()
Hard-Coding
()
Input
()
Conclusion - Programming in Python
()
General Introduction-Turtle Graphics
Introduction - Objects and Turtle Graphics
()
Our First Turtle Program
()
Instances: A Herd of Turtles
()
Repetition with a For Loop
()
More Turtle Methods
()
Importing Modules
()
Conclusion - Turtle Graphics
()
General Introduction-The Way of the Programmer
Introduction - Debugging
()
Syntax, Runtime, and Semantic Errors
()
Know Your Error Messages
()
Incremental Programming
()
Common Errors
()
Conclusion - Debugging
()
Sequences and Iteration-Lists and Strings
Introduction: Lists and Strings
()
Strings
()
Lists
()
Tuples
()
The Index Operator
()
Length
()
The Slice Operator
()
Examples of Slicing and Indexing
()
Concatenation and Repetition
()
Count and Index
()
Split and Join
()
Conclusion: Lists and Strings
()
Sequences and Iteration-Iteration
Introduction: Iteration
()
The For Loop
()
The Accumulator Pattern
()
The Range Function
()
Conclusion: Iteration
()
Sequences and Iteration-The Way of the Programmer
Introduction: The Way of the Programmer
()
Naming Your Variables in For Loops
()
Printing Intermediate Results
()
Keeping Track of Your Iterator Variable and Your Iterable
()
Conclusion: The Way of the Programmer
()
Booleans and Conditionals-Boolean Expressions
Introduction: Boolean Expressions
()
Boolean Expressions
()
Logical Operators
()
The in and not in Operators
()
Precedence of Operators
()
Automated Tests with assert
()
Conclusion: Boolean Expressions
()
Booleans and Conditionals-Conditional Execution
Introduction: Conditional Execution
()
Conditional Execution
()
Unary Selection, Nested Conditionals, and Chained Conditionals
()
Testing Conditionals
()
The Accumulator Pattern with Conditionals and Accumulating a Maximum Value
()
Conclusion: Conditional Execution
()
Sequence Mutation and Accumulation Patterns-Sequence Mutation
Introduction - Sequence Mutation
()
Mutability
()
List Element Deletion
()
Objects and References
()
Aliasing
()
Cloning Lists
()
Conclusion - Sequence Mutation
()
Sequence Mutation and Accumulation Patterns-Methods on Strings and Lists
Introduction - Methods on Lists and Strings
()
Methods on Lists
()
Append vs. Concatenate
()
Non-Mutating Methods on Strings
()
String Format Method
()
f-strings
()
Conclusion: Methods on Lists and Strings
()
Sequence Mutation and Accumulation Patterns-Accumulating Lists and Strings
Introduction - Accumulating Lists and Strings
()
The Accumulator Pattern with Lists
()
The Accumulator Pattern with Strings
()
Conclusion: Accumulating Lists and Strings
()
Sequence Mutation and Accumulation Patterns-The Way of the Programmer
Introduction - Way of the Programmer
()
Making Reference Diagrams
()
Accumulator Pattern Strategies
()
Conclusion - Way of the Programmer
()
Sequence Mutation and Accumulation Patterns-Python Basics - Final Course Assignment
Introduction - Final Course Assignment
()
Sequence Mutation and Accumulation Patterns-Course Feedback
Course Feedback
Keep Learning with Michigan Online