STEP 19: The semester is over. It's time to see our final grades and grade average!

  • Go to . Drag Print String to the bottom of main(). Change the text to "Final grades:".
  • From , drag two Function Call with Parameter tools into the bottom of main().
  • Rename the first function call to print_grades() and rename the second to print_average().
  • Change the parameter for both function calls from my_var to grades. Click Run to see the final average!

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)