STUCK ON STRING AND CONSOLE OUTPUT 15 string formatting. Please help


#1



It says this after what I believe is correct code- Traceback (most recent call last):
File "python", line 6, in
TypeError: unsupported operand type(s) for &: 'str' and 'tuple'


It should write my username, quest and favourite colour in a sentence



#2

Can you please provide your code, so it is easier to see where the problem might be.
Thanks


#3


#4

use % instead of &


#5

And don't worry I did input the variable when it asked me to in the console which seemed to be the problem with other users


#6

THANKS-I must have mistyped it!


#7

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