python - Why does the istitle() string method return false if the string is clearly in title-case? -
Return to true, if the string title is a categorized string and has at least one letter, for example uppercase letters can only obey untold characters and lowercase letters. Otherwise return false. But in this case it returns false: What am I missing?
gt; & Gt; Book = 'every programmer should know' & gt; & Gt; & Gt; Book.title () 'Every Programmer Should Know' & gt; & Gt; & Gt; Book.istitle () Wrong
Comments
Post a Comment