11-15-2025, 10:09 PM
Chapter 1 — What Is Programming?
Understanding what coding really means (without any confusion)
Most people think programming is:
• typing strange symbols
• complicated maths
• long lines of code
• something only “geniuses” can do
None of that is true.
Programming is simply:
Telling a computer what to do, one clear step at a time.
That’s it.
If you can give instructions like:
• “put the milk in first”
• “go left at the lights”
• “repeat this until the bucket is full”
…then you already understand the core idea of programming.
---
1.1 What a Computer Actually Does
A computer is extremely fast…
but extremely stupid.
It cannot think for itself.
It cannot make assumptions.
It cannot “guess” what you want.
It only does exactly what you tell it to do.
Programming is the process of writing those instructions in a way the
computer can understand.
---
1.2 What Is a Program?
A program is:
• a list of instructions
• written in a programming language
• that the computer follows step by step
Example (in plain English):
1. Ask the user for their name
2. Say “Hello” and repeat their name
3. End
When you write this in Python, it becomes code.
---
1.3 Why Python?
Python is one of the best languages for beginners because:
• it’s simple to read
• it avoids unnecessary symbols
• it’s used everywhere (AI, web, data, science)
• you can build real programs quickly
• professionals use it daily
• the community is massive
If you learn Python, you learn skills that transfer to nearly every other language.
---
1.4 What Coding Actually Looks Like
Here is a tiny program you’ll write soon:
This instructs the computer to:
display the message “Hello, world!”
That’s it.
One line of code = one action.
Over time you build more actions:
• ask the user questions
• repeat tasks
• store information
• make decisions
• analyse data
• build tools
• create games
But every program is still just a list of instructions.
---
1.5 What You Will Learn to Do
By the end of this course you will be able to:
• write full programs
• automate simple tasks
• build interactive tools
• make small games
• process data
• understand programming logic
• read and understand other people's code
• create your own final project
And you won’t need any prior knowledge.
---
1.6 The Most Important Mindset
When learning to code, remember:
You do NOT have to memorise everything.
You only need:
• curiosity
• willingness to try
• patience
• comfort with making mistakes
Every programmer makes errors — even experts.
The computer gives feedback instantly, and you learn by fixing things.
That’s the real magic.
---
1.7 Mini Exercise (Your First Task)
Answer these questions mentally (no code required yet):
1. In your own words, what is a program?
2. Why is Python beginner-friendly?
3. Why is it okay to make mistakes while learning to code?
4. What kinds of things would you like to build in the future?
(You don’t need to post answers — the goal is self-reflection.)
---
1.8 Summary
• Programming = giving clear instructions
• A program = a list of steps for the computer
• Python is simple, powerful, and widely used
• Coding is learned through practice, not memory
• Mistakes are part of the learning process
• You already understand the logic behind programming
Next, we will install Python and get everything ready.
Continue to:
Chapter 2 — Installing Python on Windows, Mac & Linux
---
Written and Compiled by Lee Johnston — Founder of The Lumin Archive
Understanding what coding really means (without any confusion)
Most people think programming is:
• typing strange symbols
• complicated maths
• long lines of code
• something only “geniuses” can do
None of that is true.
Programming is simply:
Telling a computer what to do, one clear step at a time.
That’s it.
If you can give instructions like:
• “put the milk in first”
• “go left at the lights”
• “repeat this until the bucket is full”
…then you already understand the core idea of programming.
---
1.1 What a Computer Actually Does
A computer is extremely fast…
but extremely stupid.
It cannot think for itself.
It cannot make assumptions.
It cannot “guess” what you want.
It only does exactly what you tell it to do.
Programming is the process of writing those instructions in a way the
computer can understand.
---
1.2 What Is a Program?
A program is:
• a list of instructions
• written in a programming language
• that the computer follows step by step
Example (in plain English):
1. Ask the user for their name
2. Say “Hello” and repeat their name
3. End
When you write this in Python, it becomes code.
---
1.3 Why Python?
Python is one of the best languages for beginners because:
• it’s simple to read
• it avoids unnecessary symbols
• it’s used everywhere (AI, web, data, science)
• you can build real programs quickly
• professionals use it daily
• the community is massive
If you learn Python, you learn skills that transfer to nearly every other language.
---
1.4 What Coding Actually Looks Like
Here is a tiny program you’ll write soon:
Code:
print("Hello, world!")This instructs the computer to:
display the message “Hello, world!”
That’s it.
One line of code = one action.
Over time you build more actions:
• ask the user questions
• repeat tasks
• store information
• make decisions
• analyse data
• build tools
• create games
But every program is still just a list of instructions.
---
1.5 What You Will Learn to Do
By the end of this course you will be able to:
• write full programs
• automate simple tasks
• build interactive tools
• make small games
• process data
• understand programming logic
• read and understand other people's code
• create your own final project
And you won’t need any prior knowledge.
---
1.6 The Most Important Mindset
When learning to code, remember:
You do NOT have to memorise everything.
You only need:
• curiosity
• willingness to try
• patience
• comfort with making mistakes
Every programmer makes errors — even experts.
The computer gives feedback instantly, and you learn by fixing things.
That’s the real magic.
---
1.7 Mini Exercise (Your First Task)
Answer these questions mentally (no code required yet):
1. In your own words, what is a program?
2. Why is Python beginner-friendly?
3. Why is it okay to make mistakes while learning to code?
4. What kinds of things would you like to build in the future?
(You don’t need to post answers — the goal is self-reflection.)
---
1.8 Summary
• Programming = giving clear instructions
• A program = a list of steps for the computer
• Python is simple, powerful, and widely used
• Coding is learned through practice, not memory
• Mistakes are part of the learning process
• You already understand the logic behind programming
Next, we will install Python and get everything ready.
Continue to:
Chapter 2 — Installing Python on Windows, Mac & Linux
---
Written and Compiled by Lee Johnston — Founder of The Lumin Archive
