Light Mode
Dark Mode
Error in input/output

I would like to give some feedback about ...

From: https://py.checkio.org/mission/how-deep/solve/

HTTP_USER_AGENT:

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36

The testcase "extra", "test 9/9", the input is (1,(2),(2,(3))), but in Python type((3)) = int, not tuple, because the parantheses are ignored while parsed by the interpreter. The correct input is (1, (2,), (2, (3,))), if the answer is suposed to be 3, not 2.

Attachment
Created: April 23, 2019, 3:11 p.m.
Updated: April 23, 2019, 8:21 p.m.
0
15
User avatar
Andr__Mueller