Tree: Preorder Traversal

  • + 1 comment

    def preOrder(root): if(root==None): return 0 print(root.info, end=" ") preOrder(root.left) preOrder(root.right)