To find the absolute value of a number in Python, you can use the built-in abs() function. The abs() function returns the absolute value of a number, which is the positive value of the number, regardless of its sign.
Example code:
num = -5
abs_num = abs(num)
print(abs_num) # Output: 5
In the above example, num is a negative number (-5), and the abs() function returns the positive value of the number (5).