PREVIEW: Today we will use loops and lists to create a piggy bank guessing game!

  • Click Run to play the game.
  • Notice that every time you guess incorrectly, the piggy bank tells you how many of a specific coin is in the bank! (For example, first pennies, then nickels, etc).
  • Click Submit and Next to continue.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)