def get_transactions() -> list:
    """Gets each transaction to combine to look for a matching combo."""
    print("Enter each transaction amount and press enter."
          "\nEnter when done.")
    transactions = []
    while True:
        each = input("Transaction: ").strip("$ ")
        if each:
            transactions.append(float(each.replace(',', '')))
        else:
            return transactions