readmes yo

This commit is contained in:
Armen Vartan
2014-12-02 16:34:40 -05:00
parent 40c5e73f28
commit bfe83636ef
3 changed files with 14 additions and 21 deletions

View File

@ -2,13 +2,11 @@ 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
#TESTS
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"
assert(is_palindrome("greg is the man") == False), "Presumably random sentence should return false"
assert(is_palindrome("No Mel Gibson is a casino's big lemon") == True), "Palindrome should return true"