Python Programming - Working with Functions and Handling Errors
Learn to work with functions and handle errors in Python programming with this back end programming languages course.
Take this certificate on your own.
Start now and learn at your own pace.
CertificationView course modules
A function is a method or reusable section of code that you can call when you need to perform a task, without having to rewrite the code again and again. This course will teach you how to identify a function and locate where you have used them before. You will learn how to create a function by using the def keyword, give the function a name, and write code in the body of the function. You will also learn the use of parameters in creating functions.
You will then study the use of a try/except function. The course will teach you the ways of testing your code for errors and how to get information on any errors you find. The course will then teach you that runtime errors occur when the code works but something out of the ordinary crashes the code. You will also learn that you can use the sys.exc_info() to find errors when you need.
Python is a back end programming language that is easy to learn and has a simple syntax. This makes it a great first language for aspiring back end developers. Before taking this Python Programming - Working with Functions and Handling Errors course, you need to have completed the course 'Programming Concepts with Python', 'Working with Numbers, Dates and Time', 'Working with Complex Decisions and Events', and 'Working with Lists and Files'. But if you have covered these courses already, check out this course now and complete your learning journey!
Module 1: Introduction to Functions
Module 2: Handling Errors
Module 3: Python Programming - Working with Functions and Handling Errors Assessment
Having completed this course you will be able to: - Identify a function and where you use them. - Describe the process of creating a function. - Discuss the use of parameters in creating functions. - Explain the use of a try/ except function. - Discuss ways of testing code for errors. - Describe how to get information about an error that occurred.
All Alison courses are free to enrol, study and complete. To successfully complete this Certificate course and become an Alison Graduate, you need to achieve 80% or higher in each course assessment. Once you have completed this Certificate course, you have the option to acquire official Certification, which is a great way to share your achievement with the world. Your Alison Certification is:
Ideal for sharing with potential employers - include it in your CV, professional social media profiles and job applications
An indication of your commitment to continuously learn, upskill and achieve high results
An incentive for you to continue empowering yourself through lifelong learning
Alison offers 3 types of Certification for completed Certificate courses:
Digital Certificate - a downloadable Certificate in PDF format, immediately available to you when you complete your purchase
Certificate - a physical version of your officially branded and security-marked Certificate, posted to you with FREE shipping
Framed Certificate - a physical version of your officially branded and security-marked Certificate in a stylish frame, posted to you with FREE shipping
All Certification is available to purchase through the Alison Shop. For more information on purchasing Alison Certification, please visit our faqs. If you decide not to purchase your Alison Certification, you can still demonstrate your achievement by sharing your Learner Record or Learner Achievement Verification, both of which are accessible from your Dashboard. For more details on our Certification pricing, please visit our Pricing Page.
Free, Online Python Programming - Working with Functions and Handling Errors Course
This Course has been revised!
For a more enjoyable learning experience, we recommend that you study the mobile-friendly republished version of this course.Take me to revised course.