79460862

Date: 2025-02-23 07:52:49
Score: 1.5
Natty:
Report link

Here's a task to view input and output, similar to online coding platforms:

{
    "label": "Run Python with i/o",
    "type": "shell",
    "command": "cls & echo Input: & python a.py > temp.txt & echo. & echo Output: & type temp.txt & del temp.txt",
    "presentation": {
        "showReuseMessage": false
    }
}

Result:

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Joy