a Amazon . com X| @ Course : CMF X has X } C58_ Lecture X| a Amazon.con X| a Amazon .com X| MY BARCLO X| M Inbox ( 983 )_ X| G Recall the fu X|...
I need code for the second picture but you need the function in the first picture. PYTHON PROGRAMMING
a Amazon . com X| @ Course : CMF X hasX } C58_ Lecture X| a Amazon.con X| a Amazon .com X| MY BARCLO X| M Inbox ( 983 )_ X| G Recall the fu X| Homework t X| +X* > C & https: / / ucsb - cs8 . github . jo / W 79 - mathi / hwk / pdf / hos . pdf:University of California , Santa BarbaraDept. of Computer ScienceName :\( as it would appear on official course roster )*( 20 pts ) Write a new function Check_ ispal ( word ) that takes a string input ( word )and : ( a ) strips all non- alphanumeric characters ( that is , all characters that are not*lowercase / uppercase letters or numbers ) , from word , then ( b ) converts all uppercaseletters in word to lowercase letters and finally , ( C ) calls ispall] ( the one defined in theprevious page ) with the modified word string . So , when called this way :*Check_ ispal ( " A man , a plan , a canal : Panama! " ) , it returns True , andCheck_ ispal ( " A Santa at NASA " ) , also returns True , and\Check_ ispal ( " Yawn ... Madonna fan ? No damn way ! ! " ) , also returns True .I'm giving you a head-start with a " skeleton code " to complete :"def Check_ ispal ( word ) :\print ( word , end = " : " )newword =\for c in word ;{` O Type here to search` WESThikse PM
Show more