LOLCODE allows us to combine, or concatenate, multiple strings together by using the SMOOSH and MKAY keywords.

For example, if the code below is executed:

BTW Results in "baklavaaaaaaa" VISIBLE SMOOSH "baklav" "aaaaaaa" MKAY

The terminal will output:


SMOOSH is a slang for “squash” or “crush.”
MKAY is a slang for “ok.”



Declare a firstName variable and read in the value from the user.

Then print "Hello, " and firstName SMOOSHed together.


Declare and read in a lastName variable from the user.

Then print "Hello, " firstName, " ", and lastName all SMOOSHed together.

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.
Already have an account?