STEP 14: What luck! You can now improve one grade with an extra credit homework assignment. So let's make a new function! It will require three parameters: the list of grades, the grade we will change, and our new grade.

  • Go to and drag Define Function below remove_lowest_two().
  • Rename the function to change_grade(). Add these as parameters: grade, change, and list_of_grades.
  • Drag in Docstring and edit it to describe this function (It changes a specified grade.)

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)