Gartner interview question

Sum of 2 element in a list using python