Python control flow loops and functions

Open to
Government analysts
Training category
Type of training
3 hours
Data Science Campus Faculty
Data Science Campus Faculty


Loops, Control Flow and the ability to write your own functions are valuable programming tools. Use of these tools help to reduce repetition in code; improving readability and following good coding practices. This short course covers and introduction to these topics and demonstrates areas for additional learning.

Learning outcomes

By the end of the session you will be able to:

  • use For loops
  • use While loops
  • use If Elif and Else Control Flow
  • write your own basic functions
  • understand ‘scope’ in terms of functions
  • be aware of how functions can be applied to DataFrames

Introduction to Python‘ is a pre-requisite for this course.

How to book

Please use your Learning Hub account to access this course online. If you do not have a Learning Hub account, please contact


If you would like more information about this course, please email 

Related courses

R control flow loops and functions