code: def print_inorder(root: TreeNode, result=None):
      """
      Prints the tree constructed in inorder format
      """
      if root is None:
          return []
      if result is None:
          result = []
  
      print_inorder(root.left, result)
      result.append(root.val)
      print_inorder(root.right, result)
      return result
  
label_desc: Use image node_id 3 for calling a global function with example usage: print_inorder(root, result) and returns: result, list