ABS в Python 3
print ("abs(-45) : ", abs(-45))
print ("abs(100.12) : ", abs(100.12))
output:
45
100.12
san_bt
print ("abs(-45) : ", abs(-45))
print ("abs(100.12) : ", abs(100.12))
output:
45
100.12
sqrt(3^2 + 4^2) = sqrt(9 + 16) = sqrt(25) = 5