#Solution 1: a=int(input("enter a ")) if(a<0): print("absolute value of",a,"is",(-1)*a) else: print("absolute value of",a,"is",a) #Solution 2: