magic 8 quiz
create a magic 8 ball on the micro:bit.
Name
Directions
Use this activity document to guide your work in the magic 8 tutorial.
Answer the questions while completing the tutorial. Pay attention to the dialogues!
create a magic 8 ball on the micro:bit.
Use this activity document to guide your work in the magic 8 tutorial.
Answer the questions while completing the tutorial. Pay attention to the dialogues!
x
and assign it to a random number between 0 and 2.x
is equal to 2. Inside the ‘if statement’, display the string “Yes”.x
is equal to 1. Inside the ‘if statement’, display the string “No.”x
is neither 2 nor 1.