let' do quick review of syntax for objects firstto refer to attributes review of syntax for or methods of an instanceyou add period after the object name and then objects put the attribute or method name to set an attributethe reference should be on the lefthand side of the equal signthe opposite is the case to read an attribute method calls require you to have parentheses after the namewith or without argumentsjust like function call finallymethods can produce return value (like function)act on attributes of the object in-placeor both exercise on how objects workstrings exercise (strings and how objects work)in the python interpretertype ina 'the rain in spain given string create new string that is but all in uppercase is changed when you create how would you test to see whether is in uppercasethat ishow could you return boolean that is true or false depending on whether is uppercase how would you calculate the number of occurrences of the letter "nin athe upperisupperand count string methods solution and discussionhere are my solutions upper( nothe upper method' return value is used to create bthe value of is not changed in place use the isupper method on the string objecti isupper(will return true or falseaccordingly count(' '