def progress_bar(bar, progress):
    """Create an ASCII progress bar."""
    if progress == 100:
        return f"|{bar * 10}| Completed!"  # using f-strings
    bar_count = progress // 10
    spaces = 10 - bar_count
    # using f-strings
    return f"|{bar * bar_count}{' ' * spaces}| Progress: {progress}%"