Lenovo interview question

How to add multiple elements in a list in one line?