define function parameter datatype in python code example Example: python function argument type def pick(l: list, index: int) -> int: return l[index]