第 13 步:通常我们将高分从高到低排序。我们如何知道我们的列表是否正确排序?

  • ,将Function Call with Parameter拖到main()的底部。
  • my_function更改为sort_by_score 。 (我们已经为您制作了此功能。)
  • 然后,将括号内的参数从my_vardata
  • 最后,在,将Print Variable拖到main()的底部并将my_var更改为data

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)