Python Interview Questions

6,379 python interview questions shared by candidates

The first one was 4 questions on code signal, and you have to answer to proceed in person. The second one was an interview with an employee to dig into your past work and also questions about finding the top 5 performing stores in a chain of stores.
avatar

Lead Python Developer

Interviewed at Egen

4.2
Mar 13, 2023

The first one was 4 questions on code signal, and you have to answer to proceed in person. The second one was an interview with an employee to dig into your past work and also questions about finding the top 5 performing stores in a chain of stores.

- 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 6161 - 6170 interview questions

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