Course of Raku / Objects, I/O, and exceptions / Input and output / Standard streams / Exercises
Print without a newline
Problem
Using the standard-output handle $*OUT, print the
letters a and b with print (which
adds no newline), and then the letter c with
say. The three letters should end up on a single line.
Example
The program prints:
abcSolution
Course navigation
← Solution: Note a warning | Solution: Print without a newline →