Code blocks in the course text that display a Run button can be edited and run on the spot.
Code in materials in Exam mode or Mock Exam mode cannot be run.
Run.Standard Output and Standard Error are displayed, along with the execution result. For Python, this includes the value of the last expression and any figures.Reset to restore the code to the original content written in the material. The standard input field is also cleared.For code blocks where standard input is enabled in the material, a Standard Input field appears below the code. Programs that read standard input, such as input() (Python) or Scanner (Java), receive the contents of this field.
Standard Input field cannot use standard input. If you run code that fails due to missing standard input, such as Python's input() or Java's Scanner, the message Standard input cannot be used in this code block is displayed. For other languages, check Standard Output and Standard Error.Standard Error.The program did not terminate normally is displayed, an error has occurred or the execution time limit was exceeded. If Standard Error is shown, check its contents and fix the code. In cases such as exceeding the execution time limit, Standard Error may not be displayed.Execution failed is displayed, communication with the execution environment has failed. Wait a while and then run the code again.