def save_lyrics(the_words: str, the_file: str):
    """
    write lyrics to a file
    Args:
        the_words: str containing lyrics
        the_file: str name of file to save
    Returns: 0 if successful
    """
    with open(the_file, mode='wt+', newline=None) as write_lyrics:
        write_lyrics.write(the_words)
        write_lyrics.close()
    return 0