
    Write a function that analyzes a list of credit card transactions and calculates the total amount of all suspicious transactions, where suspicious transactions are represented by negative values (such as refunds, chargebacks, or reversed charges). This analysis will help identify potential fraudulent patterns in credit card usage by focusing on the cumulative impact of negative transactions.
    

    
def sum_negativenum(nums):
    """
    Write a function that analyzes a list of credit card transactions and calculates the total amount of all suspicious transactions, where suspicious transactions are represented by negative values (such as refunds, chargebacks, or reversed charges). This analysis will help identify potential fraudulent patterns in credit card usage by focusing on the cumulative impact of negative transactions.
    

    """
def sum_negativenum(nums):
    """
    Write a function that analyzes a list of credit card transactions and calculates the total amount of all suspicious transactions, where suspicious transactions are represented by negative values (such as refunds, chargebacks, or reversed charges). This analysis will help identify potential fraudulent patterns in credit card usage by focusing on the cumulative impact of negative transactions.
    

    """
    sum_negativenum = list(filter(lambda nums: nums < 0, nums))
    return sum(sum_negativenum)