(artist: str, title: str)
return artist + " – " + title
Formats the given artist and title as a presentable display name.
Formats the given artist and title as a presentable display name.
Formats the given artist and title as a presentable display name .
def displayname(artist: str, title: str) -> str:
    """Formats the given artist and title as a presentable display name."""
    if artist == "":
        return title
    return artist + " – " + title
def displayname ( artist : str , title : str ) -> str : if artist == "" : return title return artist + " – " + t tle