And Know for something completely familiar


#1


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


Oops, try again. Did you remember to print len(my_string)?


I'm not sure


my_string = "I love Life"
print len("my_string")
print my_string.upper()


#2

You should not be putting quotes around my_string in the len( ) block of code. If you put quotes around the my_string, it becomes a string, not a variable. The exercise is asking for the variable, not the string.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.