Activity: Preview

PREVIEW: Today you'll learn how to repeat code continuously until you want it to stop by using a while loop.

  • Click Run to see and use an example of the project you'll create.
  • Look at line 14 in the code. Can you find where choice gets assigned a new value?
  • Try playing the game and decide whether you want to play again or not!
  • When you are ready, click Submit and Next.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
Support