Feb-25-2017, 09:15 PM
(Feb-25-2017, 04:10 PM)warmth Wrote: Thanks Buran I tried this and it worked, also, ichabod your right! No import functions! Otherwise I could just import math and use the abs value function instead of all those slimy if statements.
abs() is built-in function in python, no import is needed to use it. And if you still cant use it, you can try things like
if x < 0: x = -x