Python control flow loops and functions

Open to
Government analysts
Training category
Analytical, Data science
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. By using these tools you can help to reduce repetition in code. This improves readability and ensures you are following good coding practices. This short course introduces these topics and demonstrates areas for additional learning.

Who this course is for

To enrol on this course you will need to have completed the “Introduction to Python” course.

Learning outcomes

On this course you will learn:

  • how to use “For” loops
  • how to use “While” loops
  • how to use “If Elif” and “Else Control Flow”
  • how to write your own basic functions
  • about “scope” in terms of functions
  • how functions can be applied to DataFrames

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