Knowledge organisersSubprograms
Reusable code without return.
A procedure is a subprogram that performs an action but does not return a value. In Python, it is defined with def and has no return statement (or returns None).
def name():greet("Alice")def greet(name):
print("Hello, " + name + "!")
print("Welcome to the quiz.")
greet("Alice")
greet("Bob")