I have a list that have tuples with negative values say like this
vect=[(-x*3,-y*2) for x in [2,3,4] for y in [1,5,6]]
and i want to print the list with its absolute values like
[(6, 2), (6, 10), (6, 12), (9, 2), (9, 10), (9, 12), (12, 2), (12, 10), (12, 12)]
but i tried to get an output but got an error that
TypeError: bad operand type for abs(): 'tuple'
So I need a help or suggestions regarding this problem.