STEP 10: Are there pennies in the bank? Maybe not! Let's find out so we can give the player a hint before they guess.

  • In LOGIC, click , and drag out Get Minimum. This tool looks for the lowest value stored in a list.
  • Rename the variable from my_var to min_coin and change the argument in min() to coins.
  • From drag out Variable Display and rename it from my_display to min_display.
  • Replace the variable argument in .Display() with min_coin.

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)