Module 01 of 10

Python Fundamentals

Lessons

About This Module

Every Python program, from a ten-line script to a production web service, is built from the same small set of ideas. Fundamentals are those ideas: how to store values, make decisions, repeat work, and package logic so you can reuse it. Get these right and everything later in the course gets easier.

You'll start with variables and data types, learning how Python stores numbers, text, and booleans. Then you'll use conditional statements to make your code choose between paths, and loops to repeat tasks without copying and pasting. Finally, functions let you wrap that logic into named, reusable blocks that take inputs and return results.

With these basics in hand, you'll be ready for the next module, Data Structures & Algorithms, where you'll work with lists, dictionaries, and sets to handle collections of data.

Lessons

4 videos
01

Python Variables: Tutorial for Beginners with Examples

What variables are, how to create and name them, and how Python handles basic data types such as numbers, strings, and booleans.

02

Conditional Statements in Python

Making decisions in your code with if, elif, and else, and using comparison operators to control which parts of a program run.

03

Repeating Tasks with Loops

Using for loops to repeat a section of code, so you can process many values without writing the same lines again and again.

04

Python Tutorial for Beginners 8: Functions

How to define functions with def, pass in arguments, set default values, and return results, plus an intro to *args and **kwargs.