The print Command

The print Command

The print command tells the program to print something to the screen. The argument is the thing that you want the program to print. The argument must be surrounded by quotation or talking marks ". For example, the following code will print the word Hello to the screen:

✅ print "Hello"

"Hello" is the argument to print.

Without the quotation marks, this program will generate an error.

❌ print Hello

More Arguments

print takes any number of arguments: 0, 1, 2, …. Each argument is printed without the quotation marks. Arguments are separated by a single space. After the last argument has been printed a new line or return will be printed.

The following program

print "Bugs like hugs."
print "👾" "🐛" "🥰"

creates the output

Bugs like hugs.
👾 🐛 🥰

print without any arguments prints an empty new line.

Exercise

About (TBD: Login)

large, interactive letter 'e' as evy logo large, interactive letter 'e' as evy logo

Evy is a simple programming language, made to learn coding.

Evy is a modern, beginner-friendly programming language that bridges the gap between block-based coding and conventional programming languages. Its simple syntax and small set of built-in functions make it easy to learn and use, but it still is powerful enough for user interaction, games, and animations.

Created by a software engineer and parent who struggled to teach their kids programming with conventional languages, Evy is designed to make real programming as fun and easy as possible.