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

Natural Language Processing NLP - Useful libraries, tools and code samples

Basic Concepts Stop words removal Stop words are words that may not carry valuable information In some cases stop words matter . For e...