Job category:Software Engineering

Passing Data into Python Functions

Add parameters to Python functions and pass arguments by position, by name, and with defaults so one definition can handle many inputs.
Python
4 lessons
17 practices
1 hour
Badge for General Programming and Algorithms,

Course details

Introduction to Function Parameters
Observation: Reading a Parameter in Action
Parameterizing a Hard-Coded Greeting
A Parameterized Function for Numbers
Building the announce function

Turn screen time into skills time

Practice anytime, anywhere with our mobile app.
Sign up

Join the 1M+ learners on CodeSignal

Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal