This commit is contained in:
Armen Vartan
2014-12-01 12:17:43 -05:00
parent 89e5a5f4b0
commit b9a8397f34
124 changed files with 2918 additions and 0 deletions

View File

@ -0,0 +1,14 @@
import sys
def is_palindrome(string):
pass
##this function should only check validity of the string, and rely on other functions for string operations
#assert statements
assert(is_palindrome('greg is the man') == False), "Presumably random sentence should return false"
assert(is_palindrome('No Mel Gibson is a casinos big lemon') == True), "Palindrome should return true"