Amazon Interview Question

1 Phyton question about lists