Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Easy Unpack by Pavetta
def easy_unpack(elements: tuple) -> tuple:
"""
returns a tuple with 3 elements - first, third and second to the last
"""
return (elements[0], elements[2], elements[-2])
Aug. 14, 2018