Lesson 1: Introduction to Python & Setup

1. What is Python?

Python is a high-level, easy-to-read programming language — the #1 choice for AI, machine learning, data science, and automation.

Why Python for ML?

2. Setting Up Python

Steps (do this now):

  1. Download Python from python.org (latest version 3.12+)
  2. Install it — check "Add Python to PATH" during setup
  3. Open terminal/command prompt → type python --version → should show version
  4. Use an editor: VS Code (free) or PyCharm Community (free)

First program:

print("Hello, TensorSpeed!")

Run it — you should see "Hello, TensorSpeed!"

Exercise 1

What will this code output?
print("I love Python")

Exercise 2

Fix this broken code so it prints "Welcome to AI":

printWelcome to AI

Summary – Lesson 1

Next: variables and basic data types.

← Previous Lesson Next Lesson (2) →