Skip to content

Commit c44ec38

Browse files
committed
update line
1 parent 9dfb3e9 commit c44ec38

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

valid-palindrome/daiyongg-kim.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
class Solution:
22
def isPalindrome(self, s: str) -> bool:
33
s = re.sub(r'[^0-9A-Za-z]', '',s).lower()
4-
return s == s[::-1]
5-
4+
return s == s[::-1]

0 commit comments

Comments
 (0)