Im stuck! Pls help! - Solved


Traceback (most recent call last):
File "python", line 3, in
NameError: name 'egg' is not defined

Oops, try again. Did you remember to make my_string a string?

I expected it to say that is's correct and for me to then be able to continue

# Write your code below, starting on line 3!

my_string = egg
print len(my_string)
print my_string.upper()


egg is string value so should be inside " "

my_string = "egg"


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