t = [1, 2] def foo(l): return len(l) print(foo(t)) t.append(3)