And now for something completely familar... help?


And Now For Something Completely Familiar

Traceback (most recent call last):
File "python", line 3, in
TypeError: 'str' object is not callable

Oops, try again. It looks like nothing was printed to the console!

I expected it to print the length of my string as well as "HELP! HELP! I'M BEING REPRESSED!"

#EDIT: I figured it out... smh.
"""The instructions are:
Let's wrap it all up!

On line 3, create the variable my_string and set it to any string you'd like.
On line 4, print the length of my_string.
On line 5, print the .upper() case version of my_string.

#I feel like this should work. Idk why it's not.
my_string="Help! Help! I\'m being repressed!"
print my_string(len)
print my_string.upper()


Check if you are using len method correctly.


Does this one work?:

my_string="Help! Help! I\'m being repressed!"
print len(my_string)
print "Help! Help! I\'m being repressed!".upper()