Home Blog Tutorials About Contact
01

Installing Python and Setting Up Your Environment

Download and install Python on Windows, macOS, or Linux, and write your very first Python program.

→
02

Your First Python Program

Learn how to write and run a Python script file, understand what print() does, and add comments to your code.

→
03

Variables and Assignment

Learn what variables are, how to create them, and how to use them to store and reuse information in your programs.

→
04

Data Types: int, float, str, bool

Learn about the four most common Python data types — integers, floats, strings, and booleans — and how to check what type a value is.

→
05

String Operations and Methods

Learn how to slice strings, check their length, search for text, change case, and use the most useful string methods.

→
06

Getting User Input

Learn how to use the input() function to ask users for information and use their answers in your programs.

→
07

if / elif / else Statements

Learn how to make decisions in Python using if, elif, and else to run different code depending on conditions.

→
08

for Loops

Learn how to repeat actions automatically using for loops, range(), and how to loop over lists and strings.

→
09

while Loops

Learn how to use while loops to repeat code as long as a condition is true, and how to control loops with break and continue.

→
10

Functions

Learn how to write reusable functions, pass arguments, return values, and organize your code into logical building blocks.

→
11

Lists

Learn how to store multiple values in a list, access and modify elements, loop over lists, and use the most common list methods.

→
12

Dictionaries

Learn how to store and look up data using key-value pairs with Python dictionaries.

→
13

Reading and Writing Files

Learn how to save data to text files and read it back, so your programs can remember information between runs.

→
14

Handling Errors

Learn how to use try/except to catch errors gracefully, so your programs keep running instead of crashing.

→
15

Putting It All Together — Build a Simple CLI App

Apply everything you have learned to build a complete command-line contact book application with file storage.

→