from typing import List def add(a: List, b: int) -> int: return (a[0] + b) var_a: List = [2] var_b: int = 2 print(add(var_a,var_b))