10 步:让我们使用三角形参数中的变量。

请记住,我们要使用变量,而不是它们的值。

  • my_triangle2width参数替换为变量triangle_width
  • my_triangle3height参数替换为变量triangle_height

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
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)