Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Short solution in Clear category for Easy Unpack by genadiik
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])
May 31, 2019