<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def choice(cls, parent=None, occur=0):
 """Create choice node."""

        node = cls("choice", parent)
        node.occur = occur
        node.default_case = None
        return node