String Concadenation


12. String Concadenation

File "python", line 3
print "Spam " + "and " + "eggs"
IndentationError: unexpected indent
Oops, try again. Your code looks a bit off. Check the Hint if you need help! Your code threw the following error: unexpected indent (python, line 3)

To be correct

print "Spam " + "and " + "eggs"


Just remove that unexpected indent before your print statement.


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