So, I understand that I have to click “Submit” to get a set of fresh words to sort. I sort them fine and put them in the answer box. Even when I get the sorted list back in the answer box before the time runs out, it doesn’t recognize my list or am I supposed to hit submit again? I’m a little confused on how I “submit my list.”
The answer won’t be evaluated until you hit “Submit”, so that’s quite a vital step in the process. If you’re unsure how to do it from code, look up what actually happens when you submit a form on a webpage and see how you can make that happen with your language of choice.
If you hold a UNIX shell up to your ear, can you hear the C?
Message me anytime!
Yes, it does sounds like you’ve done something wrong. Do it by hand once, and compare that with the output of your code.
If you hold a UNIX shell up to your ear, can you hear the C?
UPDATE - I verified by hand, it looked correct. I worked on a script that sort and insert the list into the answer box. It would then tab to the submit button and press enter to submit the list. I’m giving up on that method as it doesn’t seem to work. However, I’m using this as a chance to work with the Requests Python Library. It will take a little longer having to learn to use the library but it will ultimately pay off more as it’s reproducible on other machines - not just mine.
There is nothing wrong with the method, there is something wrong with the way you are doing it. It’s ok to try it in Python, but figuring out why something isn’t working as you expect is also very important. If you don’t, you risk encountering the exact same issue with Python. And at some point you’ll run out of languages to try… ;)
The most common issues are the the result isn’t actually 100% sorted or that there is a whitespace problem. If you really think the code you have should work, you can always verify it with someone that has already solved it.
I can have a look at your python code if you want, @monarch , just PM me.