Python Interview Questions

6,405 python interview questions shared by candidates

what are the 5 class methods in python. Tell me what this command does and that command does in docker, kubernetes, and github actions. They wanted python code on the spot where you can process a list of objects and tuples, put them into a data structure like a dictionary, do some data structure manipulations, and be able to output the the results as a tuple of objects.
avatar

Senior Python Developer

Interviewed at EPAM Systems

4
Jul 16, 2025

what are the 5 class methods in python. Tell me what this command does and that command does in docker, kubernetes, and github actions. They wanted python code on the spot where you can process a list of objects and tuples, put them into a data structure like a dictionary, do some data structure manipulations, and be able to output the the results as a tuple of objects.

Write parsing method with given api calls that returns printable list that maps page to products. Improve the solution so it will take in consideration that products might be the same in different questions. Improve the naive solution that it will make the search for all the products from certain pages(and its sub pages) in the returned data structure in the shortest way.
avatar

Python Developer

Interviewed at Flipkart

3.8
Sep 26, 2019

Write parsing method with given api calls that returns printable list that maps page to products. Improve the solution so it will take in consideration that products might be the same in different questions. Improve the naive solution that it will make the search for all the products from certain pages(and its sub pages) in the returned data structure in the shortest way.

Viewing 4141 - 4150 interview questions

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