How to use Multiple Print Blocks on Blockly

multiple print blocks

How to use Multiple Print Blocks on Blockly

In the previous module, we learned how to output a piece of text. When we did, that text appeared on one line. What if we want to display text on separate lines? We can accomplish this by using multiple print blocks.

First, click on the Text tab. Drag and drop the print block. Type “Hello”.

Drag another print block and place it under the existing print block. Type “World”.

Run the program. You’ll notice that the 2 words will be printed on separate lines.

How to use Multiple Print Blocks on Blockly 1

The print block produces a line break at the end, so by using multiple print blocks, we can display text on multiple lines.

Note: You can also duplicate blocks by right-clicking on blocks and clicking duplicate OR click on a block and press Ctrl-C + Ctrl-V (or Cmd-C + Cmd-V).


Now your take on this argument.

We would also like to hear what you feel about the topic we discussed today. Your feedback is very important to us. Feel free to drop your comments and recommendations. If you have a contrary opinion, you can drop that too.

You can also join our Facebook Page CRMNigeria for more updates. You can do that by clicking on the link or searching for our page on Facebook.



You can also join our WhatsApp Group Here.
Kindly Subscribe to CRMNIGERIA Articles by Email

Adeniyi Salau Scrum Master Certified , CCNA R&S , BeingCert and Scrum Certified Digital Marketing Professional, CEP, MOS, MCP, CSCU (Project 2016), Microsoft Certified Security and Networking Associate is a Google and Beingcert Certified Digital Marketer, Project Manager and SEO Expert of repute with about a decade of Blogging and online marketing experience. He is always ready to share his experience with others.


Leave a Reply

Your email address will not be published. Required fields are marked *


CommentLuv badge
%d bloggers like this: