code: def print_tree(root):
      if root is not None:
          print(root.val)
          print_tree(root.left)
          print_tree(root.right)
  
label_desc: Use image node_id 2 for calling a global function with example usage: print_tree(root) without return types