Create Absolute Value.py
This commit is contained in:
parent
f65fd0709f
commit
9bfcec8b1e
5
9/Absolute Value.py
Normal file
5
9/Absolute Value.py
Normal file
@ -0,0 +1,5 @@
|
||||
x=int(input())
|
||||
if x < 0:
|
||||
print(-x)
|
||||
else:
|
||||
print(x)
|
Loading…
Reference in New Issue
Block a user