I have two vectors that I would like to print to a file but before that I would like to multiply x and y in the first with -1 so instead of Vector((5, -10, 0)) it should be ((-5, 10, 0)) and in the second I would like to change order of y and z from Vector((0.0, 0.5, 1.0)) to Vector((0.0, 1.0, 0.5)).
Any ideas?
a = Vector((5, -10, 0))
2)a.z, a.y = a.y, a.z
3)a = -a
4) print to file $\endgroup$