Roll (CA) interview question

Define a class for binary tree in python.