max
abs
round
絶対値を返します。
abs(x)
下記の値を入力するとサンプルに即時反映されます。
print
print(abs(-5)) # 5 print(abs(-3.7)) # 3.7 print(abs(0)) # 0