What does comment mean?
A note in the code for people, not the computer. In Python it starts with # and the computer ignores everything after it on that line.
In a lesson
A line that starts with
#is a comment. Python skips it completely. It is there for people.
Learn it
- Taught in F1.5 Comments and readable code Programming basics, GCSE
Used in
- F5.1 What an algorithm is
- F6.6 The IDE
- F13.2 Trace tables
- F13.3 Pseudocode in the exam
- F13.4 Programming questions
- F13.7 Where marks are lost
- 1.6 Project: draw a letter
- A10.8 Stages of compilation, linkers and loaders
- A12.8 Client server, REST and thin clients
- A14.6 Software engineering tools and version control
and 3 more lessons.
Do the lesson in the simulator