• 'Bad operand type for abs', how do i solve this ?:

Question related to mission Absolute Sorting

 

def checkio(numbersarray: tuple) -> list: result = sorted([numbersarray], key=lambda x:abs(x)) return result