All parts of HW3 are due Wed Jan 28th at 11:55 pm.
This first part is made of 6 logic + string functions, in the "strhw" section on the server: str hw
For the first 3 problems, use the pick-off strategy to detect and return the answer for the various cases. These do not require loops. Note that an easy way to test if an index number like 2 is in-bounds in a string is the test 2 < len(s). Problem (3) foreshadows a strategy we'll use in the Grid problems, with a return False as its last line. One problem calls for the use of "else", keeping in mind that use of "else" in these problems is pretty rare. The last problem uses reversed() which we'll show in Fri lecture.