Turtle Fun - Lesson Fifteen

We can also put numbers in memory boxes. Some examples:
make "letterbox 7 puts a seven in the box called letterbox
make "letterbox :letterbox + 3 letterbox will now contain 10 ... check by typing show :letterbox
make "newbox :letterbox the box called newbox will have 10 in it also
make "r random 5 the box called r will contain 0,1,2,3 or 4 - the only way to find out which, is to type show :r
Exercise 27 Your turn:
check put a seventeen in the box called choice
check put sheba in a box called doghouse
check add 10 to what's in the box called choice
check throw the dice: put 1,2,3,4,5 or 6 into the box called dice
check put 1 divided by 7 into a box called answer