When i was learning data structure and algorithms i ran into an error which i think it shouldn’t happen because the code i input into the terminal is the code example given. maybe you can help out in some way.
it looks like it tries to run a file named main.py. If you copy your code into a file named main.py I bet it’ll work. you could use the console to run python binary_search.py and it should run.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.