just like startswith()the endswith(method is case sensitivestarship endswith("rise"false note the true and false values are not strings they are special kind of data type called boolean value you'll learn more about boolean values in string methods and immutability recall from the previous section that strings are immutable--they can' be changed once they've been created most string methods that alter stringlike upper(and lower()actually return copies of the original string with the appropriate modifications if you aren' carefulthis can introduce subtle bugs into your program try this out in idle' interactive windowname "picardname upper('picardname 'picardwhen you call name upper()nothing about name actually changes if you need to keep the resultthen you need to assign it to variablename "picardname name upper(name 'picardname upper(returns new string "picard"which is reassigned to the name variable this overrides the original string "picardthat you first assigned to name