Ad

Monday, March 12, 2018

Clean Check Is Palindrome Implementation with Python

def is_palin(string, i, j): 
 while j > i: 
   if string[i] != string[j]: 
     return False
       i += 1
       j -= 1

No comments:

Post a Comment

Flask 2022

 increase jinja2 template cache limit from 50 to above. to speed up flask app significantly source: One line of code cut our Flask page load...