Amazon interview question

1 Phyton question about lists