def METHOD_NAME(req):
    """Prompt targetgroup to obtain data to request"""
    name = input("Name of the targetgroup you want to modify: ")
    if req.show("targetgroup", {"<name>": name}) == 0:
        new_name = input("New name: ")
        new_comment = input("New comment: ")
        if len(new_comment.strip()) == 0:
            answer = input("Remove original comment? [y/N]")
            if answer == "y":
                new_comment = "PASSHPORTREMOVECOMMENT"
        return {"<name>": name,
                "--newname": new_name,
                "--newcomment": new_comment}
    return None