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