Run Details #698
Score
100
Correct (≥100)
1/1
Incorrect (<100)
0
Median Time
2025.0ms
Tokens Used
225
Cost
101µ$
Benchmark:
0301_python_hello_world
Run Date: 2026-03-02 23:55:32
Coding question results (1)
0301_python_hello_world:0
Correct
Score: 100 • 2025ms • 225 tokens • 101µ$
Question: Write Python 3.12 code only.
Define exactly one function named hello_world.
The function must print exactly: Hello world
Do not use any imports (no numpy, requests, or other libraries).
Sandbox note: dunder attribute access is blocked (for example, type(x).__name__). Avoid names/attributes starting with '__'.
Expected output format:
- Return exactly one fenced Markdown code block starting with ```python and ending with ```.
- Put only valid Python code inside that block (no prose before/after).
- Use 4 spaces for indentation (not tabs).
- Do not return JSON and do not wrap code in a "function" key.
Task:
Write a Python 3.12 function that prints Hello world.
Submitted code
def hello_world():
print("Hello world")
Test case results
| # | Status | Args | Expected | Actual | Error |
|---|---|---|---|---|---|
| 0 | Pass | [] |
Hello world |
Hello world |
- |