Nishaglobal Education logo

Python for Beginners

From your very first line of code to a working program you built yourself

A free, complete Python course for absolute beginners. Learn variables, decisions, loops, lists, functions, dictionaries, files and error handling in simple English, with runnable examples, exercises with solutions and a quiz in every lesson. Finish by building a personal expense tracker.

lessons
14
lessons
final project
1
final project
of learning
8 hours
of learning
level
Beginner
level

Your progress

0 of 15 completed

Start Lesson 1 →

Progress is saved in this browser. No account needed.

Who this course is for

  • Complete beginners who have never written code
  • Students and job-seekers who want a first programming skill
  • Office workers who want to automate repetitive tasks
  • Anyone heading towards data, AI, web or DevOps careers

What you will be able to do

  • Write, run and fix Python programs on your own computer
  • Store and change data with variables, lists and dictionaries
  • Make decisions with if/elif/else and repeat work with for and while loops
  • Organise code into functions you can reuse
  • Read and write CSV files, and handle errors without crashing
  • Build a complete menu-driven expense tracker from scratch

Before you start

Skills you need

  • Basic computer use: opening programs, saving files in folders and typing
  • No coding or maths beyond simple arithmetic

Cost and accounts

Free. No account, card or paid software needed.

Setup time

About 15 minutes to install Python and check it works (lesson 1).

Tools

  • Python 3.10 or newer ↗Free from python.org. Lesson 1 walks you through installing it.
  • IDLEPython's own simple editor. It is installed together with Python.
  • A Windows, macOS or Linux computerA laptop or desktop. Phones and tablets are fine for reading, but you need a computer to practise.

Checked with

  • Python 3.12.16: every example is run automatically and its output checked before publishing
  • IDLE behaviour checked against the Python 3.12 IDLE documentation and source
  • Install steps checked against python.org on 2026-11-25 (latest release: Python 3.15.2)

Last reviewed: 25 November 2026

Syllabus

Final project

Personal expense tracker

A menu-driven program that adds expenses, saves them to a CSV file and prints a spending summary by category.

You complete the course when every lesson is marked complete and your project passes its self-check rubric.

Prerequisites

None. This course starts from zero.

This course prepares you for

Official documentation used for this course