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

6 lines
56 B
Python

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