def print_rating_bar(rating):
    """
    Takes in password strength-rating and returns a string depicting a progress bar.

    Parameters:
        rating (float): the password strength-rating
    Output:
        (str): progress bar showing strength-rating number of bars out of 10 bars
    """
    return 'Strength Bar |' + ('█' * int(rating + 1)) + ('-' * (10 - int(rating + 1))) + '|'