STEP 5: The next step is to have the rectangle say its area. You'll use the GRAPHICS tab for this activity.

  • From , drag Say into your program right after my_rectangle.
  • Replace the name in front of .say() command with my_rectangle because otherwise we'll get an error.

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)