def accidental2string(acc_number):
    """Return a string repr of accidentals."""
    if acc_number is None:
        return ""
    elif acc_number > 0:
        return "#" * int(acc_number)
    elif acc_number < 0:
        return "b" * int(abs(acc_number))
    else:
        return "n"