write a python program to find out absolute value of an input number.
n = int(input("Enter a Number :"))
if n<0:
n = - n
print(n,"is Absolute Value :",n)
for execution and output so check the video.
write a python program to find out absolute value of an input number.
n = int(input("Enter a Number :"))
if n<0:
n = - n
print(n,"is Absolute Value :",n)
for execution and output so check the video.
Comments
Post a Comment