def test_banjo_player_name() -> str:
    """This function test banjo player name and format message."""

    name = input('Are you playing banjo? Enter your name: ')

    if not name:
        exit("error: you doesn't entered name!")

    if name[0] == 'R' or name[0] == 'r':
        msg = ' plays banjo'
    else:
        msg = ' does not play banjo'
    
    return name + msg