---
title: "Your first Python program: say hello in 5 minutes"
description: "The easiest possible start: install nothing fancy, type a few lines, and see Python talk back to you."
url: https://articles.sythra.ai/articles/first-python-hello
slug: first-python-hello
author: "vaibhavkothari"
author_url: https://articles.sythra.ai/writers/vaibhavkothari
date_published: 2026-07-24T17:55:48.296Z
date_modified: 2026-08-29T10:29:25.265Z
topics: ["Python"]
reading_time_minutes: 3
publisher: "Sythra"
publisher_url: https://sythra.ai
access: free
language: en
---

# Your first Python program: say hello in 5 minutes

> The easiest possible start: install nothing fancy, type a few lines, and see Python talk back to you.

Source: https://articles.sythra.ai/articles/first-python-hello · Author: vaibhavkothari · Published: 2026-07-24 · Reading time: 3 min · Topics: Python

This is the gentlest way to start Python.

No folders of files. No AI keys. No complicated setup.  
Just: open Python → type a little → see a message.

If you can follow a recipe, you can do this.

## What you need

Python 3 on your computer. Check in a terminal:

```bash
python --version
```

If that fails, try:

```bash
python3 --version
```

You should see something like `Python 3.11` or `3.12`.  
If Python is missing, install it from [python.org](https://www.python.org/downloads/) and tick **Add Python to PATH** on Windows.

## Step 1 — Open a place to type

**Option A (simplest):** open a terminal and type:

```bash
python
```

You should see `>>>`. That is the interactive prompt — Python is waiting for you.

**Option B:** create a file called `hello.py` in any folder (Notepad, VS Code, or Cursor is fine).

We will show both.

## Step 2 — Print a message

Type this (or put it in `hello.py`):

```python
print("Hello, Sythra!")
```

Then:

- In the `>>>` prompt: press Enter  
- Or from a file: run `python hello.py`

You should see:

```text
Hello, Sythra!
```

**What happened?**  
print means “show this on the screen.”  
The text inside quotes is a **string** — just words for the computer.

## Step 3 — Use a variable (a labeled box)

A **variable** is a name that holds a value.

```python
name = "Asha"
print("Hello,", name)
```

Output:

```text
Hello, Asha
```

Change `"Asha"` to your name and run it again. Same program, your message.

## Step 4 — Ask a question

```python
name = input("What is your name? ")
print("Nice to meet you,", name)
```

1. Python asks for your name  
2. You type and press Enter  
3. It greets you

input means “wait for the human to type something.”

## Step 5 — Tiny full program

Save as `hello.py`:

```python
print("Welcome!")
name = input("What is your name? ")
print("Hello,", name)
print("You just ran your first Python program.")
```

Run:

```bash
python hello.py
```

That is it. You wrote a real program.

## If something goes wrong

| What you see | What to try |
|--------------|-------------|
| `python` not found | Use `python3`, or reinstall and add to PATH |
| Red error about quotes | Make sure quotes match: `"Hello"` not `"Hello` |
| Nothing happens | Make sure you saved the file, then ran `python hello.py` from that folder |

```remember
# Remember this
`print("...")` -> show something on screen
`name = "Ada"` -> put a value in a labelled box
`input("...")` -> ask the person running the program
---
Python runs top to bottom, one line at a time.
```

## What you learned

- `print` shows text  
- Strings live in quotes  
- Variables store values  
- `input` reads what you type  

Next easy wins (when you want them):

- [Rename files with Python](https://articles.sythra.ai/articles/python-rename-files-script)  
- [Talk to an AI from Python](https://articles.sythra.ai/articles/python-talk-to-llm-20-lines)

Or practice step-by-step inside [Sythra](https://app.sythra.ai).

Five minutes. One `print`. You’re a Python beginner now — for real.

## Glossary (terms defined in this article)
- **PATH** (medium) — A list of folders your computer searches to find programs like Python
- **interactive prompt** (basic) — The >>> line means Python is waiting for your next command
- **print** (basic) — Built-in command that shows text on the screen
- **string** (basic) — Text data wrapped in quotes
- **variable** (basic) — A named box that stores a value
- **input** (basic) — Built-in command that waits for you to type something
