Light Mode
Dark Mode
'Bad operand type for abs', how do i solve this ?:

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

Created: March 3, 2019, 9:51 p.m.
Updated: March 3, 2019, 11:02 p.m.
0
6
User avatar
matdibobe