max
abs
round
절댓값을 반환합니다.
abs(x)
아래 값을 입력하면 예제에 즉시 반영됩니다.
print
print(abs(-5)) # 5 print(abs(-3.7)) # 3.7 print(abs(0)) # 0