Python Programmer Interview Questions

5,414 python programmer interview questions shared by candidates

Started with technical questions -- 1. Given a nested list. Write python program to flatten it. - input_list = [ [1,2], [3,4], [[4] , [6]] ] - output_list = [1,2,3,4,4,6] 2. Given a string. Return total number of times each character occurs in that string. 3. Explain Generators in Python. 4. How to create empty Pandas dataframe? Create dataframe using a dictionary. 5. Asked to rate myself in SQL, AWS (name the relevant services too). 6. Have you worked in ML, what kind of use cases? 7. Have you written class/object oriented or functional based programming ?
avatar

Python Developer

Interviewed at Wipro

3.6
Jun 17, 2024

Started with technical questions -- 1. Given a nested list. Write python program to flatten it. - input_list = [ [1,2], [3,4], [[4] , [6]] ] - output_list = [1,2,3,4,4,6] 2. Given a string. Return total number of times each character occurs in that string. 3. Explain Generators in Python. 4. How to create empty Pandas dataframe? Create dataframe using a dictionary. 5. Asked to rate myself in SQL, AWS (name the relevant services too). 6. Have you worked in ML, what kind of use cases? 7. Have you written class/object oriented or functional based programming ?

More on Python, Programs, Inbuilt Data strucutres - various approaches for the same problem statement 2 nd round is very practical and in-depth. It was on Framework design, components like PyTest, Behave framework, Selenium explicit wait, REST API tokens, authentication, etc., Managerial discussion is behavioral round
avatar

Principal Software Engineer (Senior Python SDeT)

Interviewed at Accion Labs

3.9
Mar 18, 2021

More on Python, Programs, Inbuilt Data strucutres - various approaches for the same problem statement 2 nd round is very practical and in-depth. It was on Framework design, components like PyTest, Behave framework, Selenium explicit wait, REST API tokens, authentication, etc., Managerial discussion is behavioral round

What is Celery? What is Pytest? What is story point in Scrum? What is marshmallow in Python? What are the steps to build a Rest API in Flask? A technical problem was given on where you were running an app with a certain design provided by the interviewer. The app design uses a queue to process the app requests, but suddenly the requests start flooding the app then you are asked what can you do to improve the app?
avatar

Python Developer

Interviewed at Perficient

3.9
Apr 16, 2022

What is Celery? What is Pytest? What is story point in Scrum? What is marshmallow in Python? What are the steps to build a Rest API in Flask? A technical problem was given on where you were running an app with a certain design provided by the interviewer. The app design uses a queue to process the app requests, but suddenly the requests start flooding the app then you are asked what can you do to improve the app?

Viewing 3471 - 3480 interview questions

Glassdoor has 5,414 interview questions and reports from Python programmer interviews. Prepare for your interview. Get hired. Love your job.