csc-python-solutions/9/1 - Absolute Value.py
2021-02-18 10:04:04 +01:00

6 lines
56 B
Python

x=int(input())
if x < 0:
print(-x)
else:
print(x)