for in sprint(cthis loop will step through scharacter by characterwith holding the current character you can almost read this like an english sentence"for every character in sprint that character string methods strings come with ton of methodsfunctions that return information about the string or return new string that is modified version of the original here are some of the most useful onesmethod description lower(returns string with every letter of the original in lowercase upper(returns string with every letter of the original in uppercase replace( ,yreturns string with every occurrence of replaced by count(xcounts the number of occurrences of in the string index(xreturns the location of the first occurrence of isalpha(returns true if every character of the string is letter important note one very important note about lowerupperand replace is that they do not change the original string if you want to change stringsto all lowercaseit is not enough to just use lower(you need to do the followings lower(short examples here are some examples of string methods in actionstatement description print( count(')prints the number of spaces in the string upper(changes the string to all caps replace('hi','hello'replaces each 'hiin with 'helloprint( index(' ')prints location of the first 'ain isalpha the isalpha method is used to tell if character is letter or not it returns true if the character is letter and false otherwise when used with an entire stringit will only return true if every character of the string is letter the values true and false are called booleans and are covered in section for nowthoughjust remember that you can use isalpha in if conditions here is simple examples input'enter string '