I have tried and errored a reasonable amount of times

Seymore4Head Seymore4Head at Hotmail.invalid
Sat Aug 30 14:27:00 EDT 2014


I really tried to get this without asking for help.

mylist = ["The", "earth", "Revolves", "around", "Sun"]
print (mylist)
for e in mylist:

 # one of these two choices should print something.  Since neither
does, I am missing something subtle.

    if e[0].isupper == False:  
        print ("False")
    if e[0].isupper == True:
        print ("True")    

I am sure in the first , third and fifth choices should be true. Right
now, I am just testing the first letter of each word.





More information about the Python-list mailing list