And Now, For Something Completely Familiar


#1



And Now, For Something Completely Familiar


Oops, try again. Did you remember to print my_string.upper()?
I have the code.


my_string="win"
print len(my_string)
print "my_string".upper()


#2

Hi, @creat ,

You created a variable named my_string, and now you need to call the upper method from it. You have ...

print "my_string".upper()

To refer to the variable, my_string, you need to remove the quotes.


#3

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