<filename>Book/chap6/Supporting Materials/absval.py<gh_stars>1-10
a = eval(raw_input("Please input a number: "))
if a < 0:
    a = -a
print("The absolute value is {0}".format(a))

<filename>Book/chap6/Supporting Materials/absval.py<gh_stars>1-10
a = eval(raw_input("Please input a number: "))
if a < 0:
    a = -a
print("The absolute value is {0}".format(a))
