Ahora vamos a hacer que el triángulo diga su área, justo como hicimos con el rectángulo.

  • Desde , arrastra Say a la parte inferior de tu programa.
  • Cambia el nombre en frente de el comando .say() a my_triangle.

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)