Your Cart
Loading
Illustration introducing Python functions, explaining reusable blocks of code and the use of parentheses to call functions, with or without information inside them.

What exactly is a function in Python?

A function is a reusable block of code designed to perform a specific task.


We call functions using parentheses ( ). Sometimes we put specific information inside them, and sometimes we leave them empty.



For more Python videos, check out our blog: Python in a Minute.


Subscribe to our newsletter

Get notified when new PDF mini-guides, resources, ebooks, and courses are released.