String Concadenation


#1



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"


#2

Just remove that unexpected indent before your print statement.


#3

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