Python Interview Questions

6,401 python interview questions shared by candidates

1. What is pep8? 2. How to check internet connectivity. Write with unitest framework and add logging methods 3. Check broken links in a webpage 4. How to handle random dynamic alerts. 5. What is __init__.py while writing a module? 6. Write pgm to find prime numbers using list comprehension 7.how to handle frames in selenium.
avatar

Python Automation QA

Interviewed at Dell Technologies

3.7
Feb 18, 2022

1. What is pep8? 2. How to check internet connectivity. Write with unitest framework and add logging methods 3. Check broken links in a webpage 4. How to handle random dynamic alerts. 5. What is __init__.py while writing a module? 6. Write pgm to find prime numbers using list comprehension 7.how to handle frames in selenium.

The technical questions were: 1. How do you ensure and measure code quality 2. SOLID 3. TDD and what other approaches are you using for coding 4. What’s the transaction? 5. ACID principles 6. Time complexity for Python dict, name the worst-case complexity 7. What data structure would I use for the DB search by id Regarding my experience: 1. What infrastructure was used on my last project? 2. What my responsibilities were? 3. What tech tasks I've solved? 4. What problem did the product solve? 5. What was a team? 6. Why have I decided to leave? etc.
avatar

Python Software Developer

Interviewed at Revolut

4
Apr 29, 2022

The technical questions were: 1. How do you ensure and measure code quality 2. SOLID 3. TDD and what other approaches are you using for coding 4. What’s the transaction? 5. ACID principles 6. Time complexity for Python dict, name the worst-case complexity 7. What data structure would I use for the DB search by id Regarding my experience: 1. What infrastructure was used on my last project? 2. What my responsibilities were? 3. What tech tasks I've solved? 4. What problem did the product solve? 5. What was a team? 6. Why have I decided to leave? etc.

Started with basic questions like wt all libraries u used in ML, what projects u did name some , what type of Algorithms u used there, how u solved it in steps, wt u do if there is a Nan value, how to get starting 5 rows and columns in ML's dataset, wt to do if u want to drop a column . Then started with basic python questions like wt is list how to write it , wt is tuples, dictionary, wt is lambda ...etc
avatar

Python Developer

Interviewed at CGI

3.7
Feb 28, 2022

Started with basic questions like wt all libraries u used in ML, what projects u did name some , what type of Algorithms u used there, how u solved it in steps, wt u do if there is a Nan value, how to get starting 5 rows and columns in ML's dataset, wt to do if u want to drop a column . Then started with basic python questions like wt is list how to write it , wt is tuples, dictionary, wt is lambda ...etc

Viewing 6391 - 6400 interview questions

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