第2步:使用已创建变量,为矩形设定大小。

记住,使用变量的名称,而不是它们的。 变量名称前后不使用引号。

  • 使用变量 rectangle_width 替换矩形的width参数。
  • 使用变量 rectangle_height 替换矩形的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)