Question 8 Not complete Marked out of 6.00 Flag question Write a function is_palindrome (x) that returns the string "Yes
Posted: Fri Jun 10, 2022 11:55 am
Question 8 Not complete Marked out of 6.00 Flag question Write a function is_palindrome (x) that returns the string "Yes" if x (type int) is a palindrome, otherwise returns the string "No". An integer is a palindrome when it reads the same backward as forward. For example: Test Result print (is_palindrome (121)) Yes print (is_palindrome (123)) No print (is_palindrome (-121)) No print (is_palindrome (0)) Yes