Wells Fargo interview question

how to use list command in Python script?