How to get my code to pass without error?


#1

Let's give it a try. Print the concatenated strings "Spam ", "and ", "eggs" on line 3, just like the example above.

Make sure you include the spaces after "Spam " and "and ".

My current code:

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


#2

I think that the space between Spam and Eggs should be like that + " " +


#3

Hi @ozziekur,

Read the instructions:

Make sure you include the spaces after "Spam " and "and ".

and then see what you are doing:

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

isn't the problem obvious?


#4

you can use space after "span" and "and" like this ;
print "spam "+"and "+"eggs"
out put most be like : spam and eggs


#5

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