See what we can offer to your school
"SimpleStudy just makes sense...”
Get the best plan for your school
12 cards from this deck
A special type of subprogram that returns a value to the code that called it
def
Variables that receive values passed from the main program
Variables created inside a function, only usable within it
Sends a result back to the main program
Executing a function after it's been defined
The actual values you pass TO the function
Arguments are sent; parameters receive inside the function
Start parameter names with 'p' to avoid confusion
Variables inside functions can't be accessed from outside
For repeated calculations, organization, or breaking problems
Trying to use them outside the function where they were created
Show more
Select your subjects, and get access to A+ resources today.