convert negative number in list to positive in python code example Example: python convert any number in positive a = abs(-1) return a #returns 1