Knowledge organisersProgramming Fundamentals
Practical use of the techniques, Understanding of each technique
Sequence is the simplest programming construct. It means that instructions are executed one after another, in the order they are written. Every program uses sequence as its foundation. The order of instructions matters because each line may depend on the result of a previous line.
# Each line runs in order
name = input("What is your name? ")
print("Hello, " + name)
print("Welcome to the program")