Normally I'm able to solve whatever issue I'm having by looking up other users threads but for this one I just can't seem to get anything to work. I've gone over it a ton of times and I keep getting
"Traceback (most recent call last):
File "python", line 10, in
File "python", line 6, in join_strings
TypeError: bad operand type for unary +: 'str'"
Below I have entered my code for this problem. If anyone can tell me why the module isn't accepting this I'd be eternally grateful. Thanks in advance!
n = ["Michael", "Lieberman"]
Add your function here
result = ""
for i in range(len(words)):
result =+ words[i]
EDIT: Solved I had =+ instead of +=