Write a program to return the absolute value


Topic: Write a program to return the absolute value

Solution

num = -10
print(f'Absolute of {num} is {abs(num)}')



List all Python Programs