The exact lesson I am on is: String Methods, Lesson 5
Code asked to input: On line 1, create a variable named parrot and set it to the string "Norwegian Blue". On line 2, type len(parrot) after the word print, like so: print len(parrot). The output will be the number of letters in "Norwegian Blue"!
What I input: parrot = "Norwegian Blue"
What the answer page says: parrot = "Norwegian Blue"
Error I am getting: Traceback (most recent call last):
File "python", line 2, in
TypeError: 'str' object is not callable
Anyone have any idea if I have done anything wrong or code academy messed up?7
**Ok, so, I closed the tab and re-opened, resumed the python course and apparently the code worked and I have been allowed to progress to Tip Calculator. I still don't understand why it showed this syntax error and didn't let me progress without a refresh and resume **
EDIT NUMBER 2: Well, I got to the tip calculator, and the site sorta glitched out and went back to the first test which I did again and then it went back to lesson 5, I entered the same thing which didnt work before and it let me progress. Weird...