Python control flow loops and functions
- Open to
- Government analysts
- Training category
- Analytical, Data science
- Type of training
- Online
- Length
- 3 hours
- Organiser
- Data Science Campus Faculty
- Provider
- Data Science Campus Faculty
- Location
- Online
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 Data.Science.Campus.Faculty@ons.gov.uk.
Contact
If you would like more information about this course, please email Data.Science.Campus.Faculty@ons.gov.uk.