Skip to content
Python Fundamentals I
Getting started
Pre-course questions
Course Introduction
Sample Lesson
Expand
Course Introduction
2 Topics
Requirements: what you need before you can start
Course structure
About Python
Sample Lesson
Expand
About Python
3 Topics
|
1 Quiz
What is Python used for?
Python’s Major Features
Python History
Python introduction: the quiz
Installing Python
Sample Lesson
Collapse
Installing Python
3 Topics
Installing Python on Windows
Installing Python on MacOS
Installing Python on Linux
Basic concepts: taking our first steps
How to start Python
Sample Lesson
Your First Steps in the Python REPL
Sample Lesson
Expand
Your First Steps in the Python REPL
3 Topics
|
1 Quiz
What is the REPL?
Operators
About the example code
REPL: The Quiz
Variables
Sample Lesson
Expand
Variables
3 Topics
|
1 Quiz
Defining variables
Using variables in expressions
Variable naming
Variables: the quiz
Strings: working with text
Expand
Strings: working with text
4 Topics
|
1 Quiz
What is a Python string and how to create one
Manipulating strings
Formatting strings with f-string
Printing text to your screen
Strings: the quiz
Booleans and loops
Expand
Booleans and loops
4 Topics
|
2 Quizzes
What is a Boolean?
Boolean operators
Boolean logic: the quiz
For loops and lists
While loops
Loops and lists: the quiz
Functions
Expand
Functions
5 Topics
|
1 Quiz
What is a function and why do we need functions?
Creating your own functions
Returning from a function
Variable scope
Default values and named parameters
Functions: The Quiz
Code Comments
Expand
Code Comments
2 Topics
|
1 Quiz
Adding comments
Common mistakes with comments
Code Comments: The Quiz
Your first program
Expand
Your first program
3 Topics
Entering the code in the REPL
Analyzing your first Python program
Assignment: adapt your first Python program
Using an IDE
Creating Python programs
Expand
Creating Python programs
3 Topics
Create a .py file
Enter the code and save the file
Run (execute) the program file
Visual Studio Code IDE
Expand
Visual Studio Code IDE
5 Topics
Why VSCode?
Download and install VSCode
Starting VSCode
VSCode extensions for Python
VSCode GUI tour
Run and debug code in VSCode
Expand
Run and debug code in VSCode
8 Topics
|
1 Quiz
Creating and configuring projects
Create and open projects from the command line
Create and run a file
Debugging your code
Run configurations
Breakpoints
Other ways to run code
Formatting code and saving a workspace
VSCode: The Quiz
Objects and classes
Introduction to classes and objects
Expand
Introduction to classes and objects
3 Topics
|
1 Quiz
A look under the hood
So what are classes and objects?
Creating your own classes and objects
Objects and classes: The Quiz
Constructors
Expand
Constructors
1 Quiz
Constructors Quiz
Inheritance
Expand
Inheritance
1 Quiz
Inheritance Quiz
Loops, ranges, and iterators
The importance of loops and iteration
Iterators
Expand
Iterators
3 Topics
|
1 Quiz
How an iterator works
How to use iterators
Creating your own iterator
Iterators: The Quiz
The range function
Expand
The range function
3 Topics
|
1 Quiz
What is the range function?
How to use range
Uncovering range: how it works
Range: The Quiz
Working with files
Files: introduction
How to open and read a file
Expand
How to open and read a file
4 Topics