Eight short Python programs, 12 minutes. You do not write any code — you read each program and type its exact output. There is nothing to paste and nothing to look up: either you can follow what the code does, or you cannot.
def add(item, bag=[]):
bag.append(item)
return bag
print(add(1))
print(add(2))
If you wrote [1] then [2], this test is for you.
Why companies ask this: a candidate can paste a working answer into a coding test, and many do. Nobody can paste their way through reading a program.