Community

Start a Thread


Notifications
Subscribe You’re not receiving notifications from this thread.

How Out Of Order - Python Question

Challenges • Asked almost 5 years ago by Devesh Kumar Singh

Devesh Kumar Singh Commented on Dec 23, 2019:

The following errors come up when I try to run the code

SNIPPET
('An error occurred!', TypeError('inversions() takes exactly 1 argument (5 given)',))
('An error occurred!', TypeError('inversions() takes exactly 1 argument (5 given)',))
('An error occurred!', NameError("name 'inversion' is not defined",))

Link to problem: How Out Of Order.

Jake from AlgoDaily Commented on Feb 02, 2020:

Resolved! Thanks, the test case was passing elements instead of an array of elements.