What is Function?
A named block of code that takes inputs (parameters) and can return a result.
Functions let you reuse code instead of repeating it.
Learn more
- Functions, lists and dictionaries in Python basics
A named block of code that takes inputs (parameters) and can return a result.
Functions let you reuse code instead of repeating it.