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


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


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



use % instead of &


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


THANKS-I must have mistyped it!


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