第5步:添加另一个变量来存储朋友最喜欢的颜色。

  • 点击 ,将 String Variable 拖动到程序底部。
  • 将字符串变量的名称更改为 fav_color
  • 将字符串变量的值更改为 "orange"

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)