Knowledge organisersInput
Input -> Process -> Output.
Most programs follow the Input-Process-Output (IPO) pattern: get data from the user, do a calculation, then display the result. Structuring code this way makes it clear and easy to follow.
# INPUT
width = float(input("Width: "))
height = float(input("Height: "))
# PROCESS
area = width * height
# OUTPUT
print("Area = " + str(area))