Not On Exam 01

class Container():
    def __init__(self, *x):
        self._data = [*x]

    def push_back(self, x):
        self._data.append(x)

    def __len__(self):
        return len(self._data)
c = Container(1, 2, 3, 4, 5, 6, 7, 8, "math314", 9)
c.push_back("another")
c._data
[1, 2, 3, 4, 5, 6, 7, 8, 'math314', 9, 'another']
if c:
    print("something")
something
c2 = Container()
c2._data
[]
if c2:
    print("something")
[].__len__()
0
"".__len__()
0
{}.__len__()
0
def f(x, y, z, **kwargs):
    if "key" in kwargs:
        return kwargs["key"]
    return x + y + z
f(1, 2, 3, edward = "math314", another = 10, key = "cool")
'cool'
f(1, 2, 3)
6