strings if [ isalpha()print'your string starts with letter 'if not isalpha()print'your string contains non-letter ' note about index if you try to find the index of something that is not in stringpython will raise an error for instanceif ='abcand you try index(' ')you will get an error one way around this is to check firstlike belowif ' in slocation index' 'other string methods there are many more string methods for instancethere are methods isdigit and isalnumwhich are analogous to isalpha some other useful methods we will learn about later are join and split to see list of all the string methodstype dir(strinto the python shell if you do thisyou will see bunch of names that start with __ you can ignore them to read python' documentation for one of the methodssay the isdigit methodtype help(str isdigit escape characters the backslash\is used to get certain special characterscalled escape charactersinto your string there are variety of escape charactersand here are the most useful ones\ the newline character it is used to advance to the next line here is an exampleprint'hi\ \nthere'hi there\for inserting apostrophes into strings say you have the following strings ' can ' go this will produce an error because the apostrophe will actually end the string you can use \to get around thiss ' can\' go another option is to use double quotes for the string" can ' go\analogous to \