lesson 1 - Subroutines
lesson 1 - Subroutines
s
20/02/202
5 trying to complete a set of research assignments.
You are
Which room is better equipped to help you
we use procedures to
A procedure
better organise our
can be
code so that finding
thought of as
errors and editing the
a mini
code can become
program or a
easier.
subroutine.
This is because major
It sits in the sections of our code is
background self-contained and
waiting to be separate from one
called. another
Activate – This is where you absorb information
Procedure Vs
functions
procedure
Lesson Objectives
• Identify what are libraries in python
• Evaluate the difference between a function and a procedure
• Create a program code that will use arithmetic methods
Activate – This is where you absorb information
Lesson Objectives
• Identify what are libraries in python
• Evaluate the difference between a function and a procedure
• Create a program code that will use arithmetic methods
Demonstrate – This is where you apply and embed your knowledge
Expect
Challenge
procedure
function
arguments