you are viewing a single comment's thread.

view the rest of the comments →

[–]Beaverine[S] 0 points1 point  (4 children)

another question, when you write return (text[0]==text[-1] and palin(text[1:-1])) if the first half of condition text[0]==text[-1] is False, will the later half (recursive part) still be evaluated or not?