Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Easy Unpack by Doppelok
def easy_unpack(elements: tuple) -> tuple:
return elements[0],elements[2],elements[-2]
print('Examples:')
print(easy_unpack((1, 2, 3, 4, 5, 6, 7, 9)))
May 12, 2022