Here are python skeleton codes exLst.py and
exPal.py, and inL, an input
file for exLst.py.
Download these and make exLst.py and exPal.py executable.
Using the Python tutorial, play with exLst.py to make yourself familiar
with simple IO, strings and (array) lists.
Command line call:
exLst.py inL
Then use exPal.py as a starting point to implement a palindrome checker.
Command line call, eg
exPal.py racecar apples "A man, a plan a canal, Panama" "madam I'm Adam"
should reply:
racecar : True
apples : False
A man, a plan a canal, Panama : True
madam I'm Adam : True