Problem #647 Palindromic Substrings
liadbiz opened this issue · 3 comments
liadbiz commented
kamyu104 commented
It works in python 2.
For python 3, you should change "/" into "//", thanks!
liadbiz commented
Fine. But could you please give some explanation of your solution? It's a little magic for me.
By the way, Would you consider updating your code to python3?
kamyu104 commented
No, changing from python 2 to 3 is much easier than python 3 to 2.