Submission details
Task:Lukujono
Sender:3lv11ra
Submission time:2025-11-09 13:53:37 +0200
Language:text
Status:READY
Result:0
Feedback
groupverdictscore
#10
Test results
testverdicttimescore
#10.00 s0details

Code

while X != 1:
    print(X, end=' ')
    if X % 2 == 0:
        X = X // 2
    else:
        X = 3 * X + 1
print(1)

Test details

Test 1 (public)

Verdict:

input
(empty)

correct output
(empty)

user output
while X != 1:
    print(X, end=' ')
    if X % 2 == 0:
        X = X // 2
    else:
...

Feedback: Error: invalid command while