← Learning Tracks

Python Mastery

Build a strong foundation in Python, from your first program to practical data projects.

Lesson 1: Your first Python program

Python runs instructions from top to bottom. The print() function displays a value so you can see what your program is doing.

name = "Ada"
print(f"Hello, {name}!")

The first line stores text in a variable. The second builds a message and prints it. Change the name, then run the program again.

Practice

Store your favorite programming topic in a variable and print a sentence that includes it. Then create an integer variable and add two numbers.