how to declare parameter type in python function code example
Example 1: python function argument type
def pick(l: list, index: int) -> int:
return l[index]
Example 2: types of parameters in a function in python
def add(a,b=5,c=10): return (a+b+c)