Create Absolute Value.py

This commit is contained in:
Lukas Baumann 2021-02-18 10:00:16 +01:00 committed by GitHub
parent f65fd0709f
commit 9bfcec8b1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

5
9/Absolute Value.py Normal file
View File

@ -0,0 +1,5 @@
x=int(input())
if x < 0:
print(-x)
else:
print(x)