Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Introducing Lists Meet Lists Deletion

so I used the variable matts_lunch instead of craigs_lunch but I have double checked and all my typing and syntax

but I get a unicode error:

"

matts_lunch = "\N(TACO)"
File "<stdin>", line 1
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in p osition 0-1: malformed \N character escape
matts_lunch = "\n(TACO)"
matts_lunch
'\n(TACO)'

"

not sure whats going on or if its an Apache side server error or something.

Hello, it appears you are using () not {}. Try: matts_lunch = "\N{TACO}"

2 Answers

Dave StSomeWhere
Dave StSomeWhere
19,870 Points

I did the same thing and tried that in the console right after seeing it - try using curly braces instead of parenthesis;

b = "\N{TROPICAL DRINK}"
b

:tropical_drink:

Marcus Grant
PLUS
Marcus Grant
Courses Plus Student 2,546 Points

It's becuase you're using normal brackets () and not curly brackets {} in your call.

Give it a go and see if it returns correctly. (Don't forget the capital N)