On Thu, 28 Aug 2014 15:52:48 -0500, Andrew Berg <aberg...@my.hennepintech.edu> wrote:
>On 2014.08.28 15:38, Seymore4Head wrote: >> What am I doing wrong? >>>> True == True >True >>>> True == "True" >False >>>> type(True) ><class 'bool'> >>>> type("True") ><class 'str'> > >Also, if is already a boolean test, and it is more Pythonic to simply write "if >pigword.isalpha():". I get it. Thanks -- https://mail.python.org/mailman/listinfo/python-list