Python Interview Questions

6,372 python interview questions shared by candidates

In L1->4 sum array question arr=[2,4,3,5,6,1,0] target=10 something like this. In L2-> asked to right a user auth api and use it in the endpoint (i used Depends from fastAPI) and another coding question was about parenthesis match is_valid_parenthesis([({})]) #TRUE. React question- useLayoutEffect vs useEffect, useMemo, useCallback. js- output based js question related to event loop priority like promise vs setTimeout vs console.log use chatGPT it will give you the exact question. GenAi- which model i have used like GPT-4o similar like this try to read about the Transformer how it works. sql- A 1 1 1 1 1 B 1 1 1 1 what will be the inner join left join right join and full outer join. you need to be prepared i lost my chance. Please don't do the same. Try to explain the code you write.
avatar

Python Full Stack Developer

Interviewed at UST

3.8
Jun 3, 2025

In L1->4 sum array question arr=[2,4,3,5,6,1,0] target=10 something like this. In L2-> asked to right a user auth api and use it in the endpoint (i used Depends from fastAPI) and another coding question was about parenthesis match is_valid_parenthesis([({})]) #TRUE. React question- useLayoutEffect vs useEffect, useMemo, useCallback. js- output based js question related to event loop priority like promise vs setTimeout vs console.log use chatGPT it will give you the exact question. GenAi- which model i have used like GPT-4o similar like this try to read about the Transformer how it works. sql- A 1 1 1 1 1 B 1 1 1 1 what will be the inner join left join right join and full outer join. you need to be prepared i lost my chance. Please don't do the same. Try to explain the code you write.

In my interview, one key question they asked me was about my experience with automation frameworks — specifically, how I’ve implemented Selenium with Pytest in my past projects and integrated it into a CI/CD pipeline.
avatar

Python Automation Engineer

Interviewed at EY

3.7
Aug 11, 2025

In my interview, one key question they asked me was about my experience with automation frameworks — specifically, how I’ve implemented Selenium with Pytest in my past projects and integrated it into a CI/CD pipeline.

Viewing 6351 - 6360 interview questions

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