Skip to content

bidirect_index.py:18-25: Implement bidirect index pattern... #742

@0pdd

Description

@0pdd

The puzzle 139-658fe398 from #139 has to be resolved:

@todo #139:30min Implement bidirect index pattern
If the same numeric variable is incremented and decremented within the same method,
it's a pattern. A numeric variable should either be always growing or decreasing.
Bi-directional index is confusing. The method must return a list with the line numbers
of the variables that match this pattern. After implementation, activate tests in
test_bidirect_index.py
"""
return []

The puzzle was created by @yegor256 on 27-May-25.

Estimate: 30 minutes, role: DEV.

If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions