From 5af6c5989a9b0cc22d176e3f0b78496c8d0dafc2 Mon Sep 17 00:00:00 2001 From: wangyu95 Date: Wed, 3 Mar 2021 10:47:03 +0800 Subject: [PATCH] style: code style --- Readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 0a68eee..9afe4e2 100644 --- a/Readme.md +++ b/Readme.md @@ -1747,9 +1747,9 @@ def maxDepth(root): def isSameTree(p, q): if p == None and q == None: return True - elif p and q : + elif p and q: return p.val == q.val and isSameTree(p.left,q.left) and isSameTree(p.right,q.right) - else : + else: return False ```