Write two lines of code below.
num
.print
out num
doubled – that is, num * 2
.o, for example, if I tell you my favorite number is 3
, you'll want to print out 6
, and if I tell you my favorite number is 33
, you'll want to print out 66
.
Keep going for more tutorials (adapted, with permission, from Hour of Code, Trinket)