Understand Function in Python
Define a function, set default params, use closure.
Today I gonna learn to use functions in Python as a series of learning Python from Scratch. Before I search any tutorials, my goals are to know the following questions:
- How to define a function?
- Does the language support function overloading?