STEP 21: We've found your highest grade! Let's print it to the console using string formatting.

  • Go to and drag Insert Single Value into the bottom of main().
  • Change the string to say "Highest Grade: {}" and replace my_var with highest_grade.
  • Go to and drag in Print Variable. Change the variable to my_string.
  • Click Run and remember to scroll up and down to see everything!

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)