Queremos que el rectángulo use rectangle_area de manera que él siempre diga el área correcta.

  • En el comando .say() , cambia 200 a rectangle_area, adentro de str().

Todavía necesitamos usar str() porque rectangle_area es una Variable Entera, Así que no podemos simplemente adicionarla a un string.

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
  • Enviar Trabajo
  • Actividad Siguiente
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)