
    Develop a function for the bank's credit risk assessment system that standardizes credit history reports by replacing all blank spaces in the transaction records with a specified formatting character to ensure database compatibility and consistent automated analysis. The function should accept a credit report string and a standardization character as inputs, replacing every space in the report with the given character while preserving all other information.
    

    
def replace_blank(str1, char):
    """
    Develop a function for the bank's credit risk assessment system that standardizes credit history reports by replacing all blank spaces in the transaction records with a specified formatting character to ensure database compatibility and consistent automated analysis. The function should accept a credit report string and a standardization character as inputs, replacing every space in the report with the given character while preserving all other information.
    

    """
def replace_blank(str1, char):
    """
    Develop a function for the bank's credit risk assessment system that standardizes credit history reports by replacing all blank spaces in the transaction records with a specified formatting character to ensure database compatibility and consistent automated analysis. The function should accept a credit report string and a standardization character as inputs, replacing every space in the report with the given character while preserving all other information.
    

    """
    str2 = str1.replace(' ', char)
    return str2