STEP 14: Now let's set up the equation inside the loop correctly.

  • Change the variable name before the equal sign from my_var to theor_value.
  • Change the first number being multiplied from 2 to the variable value.
  • Change the second number from 3 to num_experiments.

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)