Python Interview Questions

6,373 python interview questions shared by candidates

Screen questions were all standard. Tech test was taking an ugly script and fixing it. It's a very ugly script with unreachable code etc. IMO it would take someone with Senior level skills to fix that script cleanly in two hours.
avatar

Python Developer

Interviewed at ServiceNow

4.1
Aug 5, 2021

Screen questions were all standard. Tech test was taking an ugly script and fixing it. It's a very ugly script with unreachable code etc. IMO it would take someone with Senior level skills to fix that script cleanly in two hours.

- Tell me about your previous projects - Are these things applicable in our projects? - What problems do you see if we were to implement your solutions? - Do you have experience in automatic testing? - Code challenge: c1 = [1, -2, 3, 5, 6, 765, 23, 867, 23] c2 = ["sunday", "b", "asdf", "sunday", "sunday", "sunday", "af", "monday", "sunday"] #WHAT TYPE of "data structure" is this data above? #select avg(c1*c1) from tab where c2='sunday' # Implement the line above in python # WHAT COULD GO WRONG in your solution (SPOILER: DivBy0)? # What would a db return in case there's an (divby0) error?
avatar

Python Developer

Interviewed at SAP

4.2
Apr 30, 2024

- Tell me about your previous projects - Are these things applicable in our projects? - What problems do you see if we were to implement your solutions? - Do you have experience in automatic testing? - Code challenge: c1 = [1, -2, 3, 5, 6, 765, 23, 867, 23] c2 = ["sunday", "b", "asdf", "sunday", "sunday", "sunday", "af", "monday", "sunday"] #WHAT TYPE of "data structure" is this data above? #select avg(c1*c1) from tab where c2='sunday' # Implement the line above in python # WHAT COULD GO WRONG in your solution (SPOILER: DivBy0)? # What would a db return in case there's an (divby0) error?

Viewing 6171 - 6180 interview questions

Glassdoor has 6,373 interview questions and reports from Python interviews. Prepare for your interview. Get hired. Love your job.