Clean and fast(94%) 4 line Python3 code
\nclass Solution:\n    def rangeSumBST(self, root: TreeNode, L: int, R: int) -> int:\n        if root == None: return 0\n        if root.val > R: return self.ra
```\nclass Solution:\n    def rangeSumBST(self, root: TreeNode, L: int, R: int) -> int:\n        if root == None: return 0\n        if root.val > R: return self.rangeSumBST(root.left,L,R)\n        if root.val < L: return self.rangeSumBST(root.right,L,R)\n        return root.val + self.rangeSumBST(root.left,L,R) + self.rangeSumBST(root.right,L,R)      \n                   \n```\n
['Python', 'Python3']