How can I convert a negative number to positive in Python? (And keep a positive one.)
simply multiplying by -1 works in both ways ...
>>> -10 * -1 10 >>> 10 * -1 -10