Am stock on number 16. 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


#1



Replace this line with your code.


#2

What is your question?

Or do you just like a long topic name?


#3

am confused about what i need to do, i have tried everything, the insturction says on line 3 create a variable my_string
my response is my_variable = 2123.
the next question says On line 4, print the length of my_string. my response is
print len(2123)
and lastly On line 5, print the .upper() case version of my_string.
which is print my_string . upper()

what am i doing wrong ?


#4

Never mind i got it figured out


#5

And you dont provide your answer for others? a bit selfish maybe


#6

Hi if need help you should create a new topic with your code and the error you get.


#7

im currently on topic 16. it says 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.

and i did
my_string= "Hey this is a string"
print len(my_string)
print my_string.upper()

what is wrong????


#8

HI I just ran your code and it work just try to refresh the page


#10