Bank of America interview question

basic Python; data types; list comprehension