In Python function are two type
- predefined function
- user-defined function
Python function signature
- function with argument with on return type
- function with argument with return type
- function no argument with no return type
- function no argument with return type
Type of function arguments in Python
- default arguments
- required arguments
- keyword arguments
- Variable number of arguments (*args)
- Arbitrary Keyword Arguments (**kwargs)