1.4 Display Binary Numbers (using a variable, operator and a repeat loop)

Scratch solution

View solution

This is just one of many possible solutions:

whenclickedsetnumber of dotsto1repeat5saynumberofdotsfor1secssetnumber of dotstonumberofdots*2

Back to programming challenge

Extra Challenge

Display the numbers from largest to smallest (display numbers 16, 8, 4, 2 and 1).