Course Solutions Uncategorized (Solved) : O Determine Given String Palindrome Palindrome String Reads Forward Backward Civic Hannah Q32645774 . . . .

(Solved) : O Determine Given String Palindrome Palindrome String Reads Forward Backward Civic Hannah Q32645774 . . . .

 

O Determine if a given string is palindrome -A Palindrome is a string which reads the same forward as backward, such as civic and hannah. Return 1 if the input is palindrome. Otherwise, return 0 -Function name should be checkPalindrome -A lower-case string is given as input to the function. -Do not use reverse function The code below will print 0 and 1, respectively. def checkPalindrome(word): # write statement print(checkPalindrome(python)) print(checkPalindrome(hannah)

Please use Python3

O Determine if a given string is palindrome -A Palindrome is a string which reads the same forward as backward, such as ‘civic’ and

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post