Challenges • Asked almost 5 years ago by Devesh Kumar Singh
The following errors come up when I try to run the code
('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.
Resolved! Thanks, the test case was passing elements instead of an array of elements.