def get_alignment_character(alignment: str) ->str:
    """ Returns an alignment character for string formatting """
    if alignment in ['left', 'l']:
        return ''
    elif alignment in ['right', 'r']:
        return '>'
    elif alignment in ['center', 'c']:
        return '^'
    return ''
