Printing can be done in a script via the print command. It can take multiple inputs of mixed types separated by commas. The arguments can be variable names, strings or function calls.
> a = 1; print("Result", a)
Result 1
In the command window, printing can also be done by inserting an equal sign in the front (note: only one item at a time).
> =a
1