WARNING: This program has a syntax error. We need to debug the error so that the program can run!

A function call must include the same number of arguments as parameters in the function definition.

  • Click Run and read the error message. It says that the function call is missing two "required arguments"!
  • These "required arguments" are values that must be passed in for the parameters in the function definition!
  • Fix the error by adding rand_font, rand_size as the last arguments in the parentheses of the function call.

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)