Section2 CG
Section2 CG
Section 2
Python Functions
• Functions are blocks of reusable code that perform a specific task.
• You can use * before the parameter name If you do not know how many
arguments will be passed into your function (collected as a tuple).
Python Functions
• You can set a default value for a parameter.
Python Functions