Dot Notation help


#1



https://www.codecademy.com/courses/python-beginner-sRXwR/1/5?curriculum_id=4f89dab3d788890003000096


File "python", line 4
print ministry.upper()
^
SyntaxError: invalid syntax


I expect that the length of ministry is counted and that it capitalised the letters of ministry .
only line 3 works but the line 4 doesn't and I don't know why. In an example there it says
lion = "roar"
len(lion)
lion.upper()

my code is exactly like that. pls help


ministry = "The Ministry of Silly Walks"

print ministry.len()
print ministry.upper()


#2

len() doesn't use a dot notation see the information of the exercise in the left column,


#3

I already figured it out

ministry = "The Ministry of Silly Walks"

print len(ministry)
print ministry.upper()

this was right
but thanks for the answer


#4