main python-basics/lessons/01-your-first-program

README.md

Lesson 1: Your first program

Your first program comes up in almost every real Python project. We start with the why, then write code together.

Full lesson: https://glibcode.net/courses/python-basics/lessons/1

Files

  • hello.py: prints a greeting and asks for your name

Tip: Use a virtual environment per project: python3 -m venv .venv.

Run it

python3 hello.py

Exercises

See exercises.md. Ask in the forum after you have tried.