第 8 步:恐龙的月球重量存储在新的返回变量中,所以让我们显示该值!

  • 拖出Variable Display并将显示重命名为dino_moon_display
  • .Display()中的变量参数从my_vardino_moon_weight
  • 将显示器放置在( 100 , 10 0 )处。

我们可以看到霸王龙在月球上的重量只有2129.6磅!请记住,这是地球重量的 16%!

    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)