Skip to content

Commit da6507b

Browse files
committed
update line
1 parent c44ec38 commit da6507b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

valid-palindrome/daiyongg-kim.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +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]
4+
return s == s[::-1]

0 commit comments

Comments
 (0)