how to define type of argument in python code example Example: declare type of object argument python def pick(l: list, index: int) -> int: return l[index]