LearnPy Hub
← Modules & the Standard Library problems
Easy

Absolute Value With math

Read a number and print math.fabs() of it.

Input

One number.

Output

One number.

Sample 1

Input
-3.5
Output
3.5

Sample 2

Input
4
Output
4.0
solution.py
Output appears here
Absolute Value With math · Python practice problem · LearnPy Hub