def broadcast(msg): # [8] Does this belong to the User class ?? support your
                    #     answer with sufficient reasoning.
    """
    Routine to broadcast a message to all connected users. Takes the argument
    message 'msg', in the form '<sender>: <message>'
    """
    map(lambda u: u.SendMsg(msg), \
        filter(lambda u: u.name != msg.split(':')[0], \
               userlist))
    # [9] Convert the above map+lambda+filter into a readable loop+conditional

    Routine to broadcast a message to all connected users. Takes the argument
    message 'msg', in the form '<sender>: <message>'
    
recipes/Python/302218_Joe_Strouts_chatserverpy_converted/recipe-302218.py