🧩Source Code
Also known as Code
The text of a program, as people write it and read it.
Think of it like
Think of it like the sheet music for a song. People read it, and the band plays from it.
Example
Why it matters
Source code is the part people can change. Keep it safe, because without it a program is very hard to fix.
Definition
Example code
python
# hello.py
print("Hello, world!")Common mistake
Key takeaways
- 1Plain text. Code is typed into simple text files.
- 2For people. Code is written so people can read it.
- 3Turned into a program. A tool makes the code run on a machine.