two elements at a time in list comprehension

Solutions on MaxInterview for two elements at a time in list comprehension by the best coders in the world