# Lambda expression in Python to rearrange positive and negative numbers # Function to rearrange positive and negative elementsdef Rearrange(arr):      # First lambda expression returns list of negative numbers    # in arr.    # Second lambda expression returns list of positive numbers    # in arr.    return [x for x in arr if x < 0] + [x for x in arr if x >= 0]  # Driver functionif __name__ == "__main__":    arr = [12, 11, -13, -5, 6, -7, 5, -3, -6]    print (Rearrange(arr))