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():". -- https://mail.python.org/mailman/listinfo/python-list
