Python Functions Course

Simplify your code in Python by using functions, which are the focus of this course.

41 minutes

Course description

Python functions are reusable chunks of code that perform a specific task, making your code more organized and efficient. They help prevent repetitive code, making it easier to maintain and troubleshoot your programs.​ You can pass different types of data, such as strings, numbers, lists, or dictionaries, as arguments to a function.​

Syllabus

Function terms

Video - 00:04:00

Get introduced to Python functions by first learning some important terms.
Define, name, or call a function

Video - 00:03:00

What do we mean when we say define, name or call a function? Dartanion explains each.
Adding an argument

Video - 00:03:00

We're getting into arguments? Yes! Python arguments, that is!
Multiple arguments

Video - 00:05:00

Now we'll discuss how to get in multiple Python arguments at once.
User-friendly data

Video - 00:02:00

One of the reasons to use Python is to create user friendly data, and we'll explore how to do that in this video.
Writing a function

Video - 00:04:00

In this video, Dartanion will demonstrate how to write a function in Python.
Custom functions

Video - 00:05:00

We'll explore custom functions in this video.
Traditional functions

Video - 00:07:00

This video will provide insight into traditional functions.
Lambda functions

Video - 00:05:00

Dartanion defines and demonstrates lambda functions.
Lambda function exceptions

Video - 00:04:00

Rounding out our discussion of lambda functions, we'll focus on lambda function exceptions.

Unlock 7 days of free training

  • 1,400+ hands-on courses and labs
  • Certification practice exams
  • Skill assessments

Plans & pricing

Infosec Skills Personal

$299 / year

  • 190+ role-guided learning paths (e.g., Ethical Hacking, Threat Hunting)
  • 100s of hands-on labs in cloud-hosted cyber ranges
  • Custom certification practice exams (e.g., CISSP, Security+)
  • Skill assessments
  • Infosec peer community support

Infosec Skills Teams

$799 per license / year

  • Team administration and reporting
  • Dedicated client success manager
  • Single sign-on (SSO)
    Easily authenticate and manage your learners by connecting to any identity provider that supports the SAML 2.0 standard.
  • Integrations via API
    Retrieve training performance and engagement metrics and integrate learner data into your existing LMS or HRS.
  • 190+ role-guided learning paths and assessments (e.g., Incident Response)
  • 100s of hands-on labs in cloud-hosted cyber ranges
  • Create and assign custom learning paths
  • Custom certification practice exams (e.g., CISSP, CISA)
  • Optional upgrade: Guarantee team certification with live boot camps

Learn about scholarships and financing with

Affirm logo

Award-winning training you can trust