Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Straight forward indexing solution in Clear category for Easy Unpack by kkkkk
def easy_unpack(elements: tuple) -> tuple:
"""Return tuple with 3 elements - first, third and second to the last."""
return (elements[0], elements[2], elements[-2])
Oct. 3, 2019
Comments: