What a Program Actually Is
A program is a set of instructions a computer follows, in order, exactly as written. That's it. Not magic, instructions.
Every program does three things: it takes input (information going in), it processes that information, and it produces output (information coming out). A drum pattern is a program your hands run. A recipe for jollof rice is a program a cook runs. Code is a program a computer runs.
✦ Sankofa
The Sankofa bird looks backward to carry something valuable forward. That's exactly what you'll do in every lesson: look back at what you already understand, instructions, patterns, sequences, and carry it forward into code.
You're going to run real code right now. The line below tells the computer: display this text as output. Press Run Code and watch it happen.
Notice what just happened. You gave the computer an instruction. It followed the instruction. Text appeared as output. That loop, write, run, observe, is the entire rhythm of programming, and you'll repeat it thousands of times until it feels like breathing.
Mark this lesson complete
Your progress is saved on this device. No account needed.