Lesson 1 of 18 · for Week 1
Say something
A program is a list of instructions the computer follows from top to bottom. print() is the instruction for show this on screen. Text goes inside quotes so Python knows it is text and not an instruction. Text in quotes is called a string.
Example
print("Hello from Edinburgh")
print("Line two runs after line one")Your turn
Print two lines:
Night shift done.Time to code.
They must match exactly, including the full stops.
What gets checked
- not checked yet
Prints two lines
- not checked yet
First line is right
- not checked yet
Second line is right
Type it yourself – that is the plan’s rule for Weeks 1–4. The tutor explains errors and nudges; it won’t write the answer.