2.2 Display number of dots from right to left in one line

Block-based solution

View solution

This is just one of many possible solutions:

whenclickedsetbinary cardstosetnumber of dotsto1askHow many cards would you like to display?andwaitsetnumber of cardstoanswerrepeatnumberofcardssetbinary cardstojoinbinarycardsjoinnumberofdots, setnumber of dotstonumberofdots*2saybinarycards

Back to programming challenge

Extra Challenge

Now try removing the last , from the end of your output.