CONSOLE:控制台对于快速输出信息以调试或理解程序很有用。让我们试试吧!

  • 这个程序可以打乱任何文本!点击运行看看它对这个字符串做了什么: "scramble this"
  • 让我们看看它是如何工作的!在中使用Print Variable每次循环运行时打印characters
  • 控制台也可以接受用户输入!使用Input Text工具中的代码,以便input_string存储用户的输入,而不是字符串"scramble this" 。点击运行并输入您要打乱的文本!

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)