abs()

数の絶対値(正の値)を戻す。

書式:
variable = abs( number )

例:
print abs( -256 )
さらに
n=-256
print abs( n )
コンソール上で256(数が正の値に変ることに注意)をプリントする