Comment by gspetr
1 hour ago
Step 1: https://www.google.com/search?q=list+python+string+methods
Step 2: Parse the output with your eyes. The method is literally called "find".
This one-trick pony failure mode could perhaps have been fine for a guy who did Java and nothing but Java for 10 years, but you are supposedly the person who runs "pythonforengineers" website...
100% correct call by the interviewer.
So I don't code python. Is it find() or index() or is being terse and rude not really going to add inches to your dick?
You're thinking of a perfect world. We're not in it.
In this one there are often thousands of applicants for a position, most of which can't pass FizzBuzz.
Why would they (or anyone for that matter) choose a candidate who can't figure out how to find info about a trivial method?