Skip to content

Code: write it, run it, get it checked

0/18

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:

  1. Night shift done.
  2. Time to code.

They must match exactly, including the full stops.

What gets checked

  • Prints two lines

    not checked yet
  • First line is right

    not checked yet
  • Second line is right

    not checked yet

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.