TypeError: unsupported operand type(s) for &: 'str' and 'tuple'

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
I am stuck at this exercise: https://www.codecademy.com/courses/python-beginner-sRXwR/3/4?curriculum_id=4f89dab3d788890003000096#

<In what way does your code behave incorrectly? Include ALL error messages.>
Error message is TypeError: unsupported operand type(s) for &: ‘str’ and ‘tuple’

<What do you expect to happen instead?>

```python

name = raw_input(“What is your name?”)
quest = raw_input(“What is your quest?”)
color = raw_input(“What is your favorite color?”)

print "Ah, so your name is %s, your quest is %s, "
“and your favorite color is %s.” & (name, quest, color)

<do not remove the three backticks above>

It’s %(name, quest, color) not & (name, quest, color)

Oops! Thanks for that :slight_smile:

You’re welcome dude!

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