Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem #647 Palindromic Substrings #77

Closed
liadbiz opened this issue Jun 18, 2019 · 3 comments
Closed

Problem #647 Palindromic Substrings #77

liadbiz opened this issue Jun 18, 2019 · 3 comments

Comments

@liadbiz
Copy link

liadbiz commented Jun 18, 2019

Hi, your solutions are greet!

But I can not understand your solution of problem #647, and it seems give wrong answer.

image

@kamyu104
Copy link
Owner

It works in python 2.
For python 3, you should change "/" into "//", thanks!

@liadbiz
Copy link
Author

liadbiz commented Jun 19, 2019

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
Copy link
Owner

No, changing from python 2 to 3 is much easier than python 3 to 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants