What will be the output of the following Python function?
hex(15)
len(["hello",2, 4, 6])
What will be the output of the following Python code?
def foo(k): k[0] = 1 q = [0] foo(q) print(q)
def foo(fname, val): print(fname(val)) foo(max, [1, 2, 3]) foo(min, [1, 2, 3])
def foo(): return total + 1 total = 0 print(foo())