[Tutor] string comparison

Paul Brown clanoftheinsane@hotmail.com
Wed, 11 Jul 2001 17:50:33 -0400


<html><DIV>hey all,</DIV>
<DIV>i am a very newbie to Python, and i am making my way through the Core Python Programming book, and Exercise 6-5(b) says i have to determine if two strings match (without using the comparison operators or the cmp() built-in function) by scanning each string.&nbsp; Also, for extra credit, it asks me to add case-insensitivity to the solution.&nbsp; does anyone have any suggestions?&nbsp; i can only think to use the "==" operator.&nbsp; thanks</DIV>
<DIV>paul</DIV><br clear=all><hr>Get your FREE download of MSN Explorer at <a href="http://explorer.msn.com">http://explorer.msn.com</a><br></p></html>