Skip to content

Commit d984eb0

Browse files
authored
Made syntax changes to 005_Longest_Palindromic_Substring.py (qiyuangong#51)
Contributed by @vintagemind
1 parent e813142 commit d984eb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/005_Longest_Palindromic_Substring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@ def longestPalindrome(self, s):
8585
if __name__ == '__main__':
8686
# begin
8787
s = Solution()
88-
print s.longestPalindrome("abcbe")
88+
print(s.longestPalindrome("abcbe"))

0 commit comments

Comments
 (0)