Learn

Woohoo! We have written our first LOLCODE programs. ๐Ÿ™€

In this lesson, we have learned:

LOLCODE is an esoteric programming language and each program is set up with these two lines:

HAI 1.2 KTHXBYE
  • VISIBLE is the keyword to print.
  • I HAS A is the keyword to declare a variable.
  • ITZ is the keyword to intialize a variable.
  • BTW is the keyword to create a single line comment.
  • OBTW and TLDR are the keywords to create a multi-line comment.
  • GIMMEH is how to get user input.

Instructions

Feel free to play around in the code editor and move on when you are ready!

Take this course for free

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