Top 50
Topic roadmap
Updated weekly · Last refresh Nov 3

Top 50 python basics Interview Questions

The most frequently asked python basics questions across all roles and companies, ranked by real interview frequency. Updated daily.

50questions
~8htotal time
43companies covered
Track your progressSign up free to work through all 50 questions and resume where you left off.
Start practicing free →
1
CodingStart here. 5 questions · ~47 min
Explain LEGB in PythonMedium
Practice
Recently asked

Implement a Python function that demonstrates local, enclosing, global, and built-in name resolution.

CodingfunctionsbasicsEPAM Systems
Basic Python Program LogicEasy
Practice
Recently asked

Use a single pass to calculate count, total, minimum, and maximum values.

aggregationBasic AlgorithmsArraysKpi Partners
Python Basics and DebuggingMedium
Practice
Recently asked

Parse integer strings safely while recording invalid inputs without runtime or logic errors.

CodingbasicsDebuggingHHudson River Trading
More Coding questions with a free account

Sign up to see every question

Create a free account to unlock this list and practice real interview questions.

Get my prep plan
2
SQL & Data Manipulation4 questions + 2 drills · ~57 min
3
Behavioral & Leadership19 questions · ~177 min
Explaining Python Data Structures ClearlyEasy
Recently asked

Tests communication and teaching through a concrete example of explaining technical fundamentals clearly to others.

Data Structurespython basicstechnical experienceInfosys
Prioritizing Vague Python RequestsEasy
Recently asked

Tests leading through ambiguity and prioritization when technical requests are vague and stakeholders are misaligned.

interview preparationpython basicstechnical experienceInfosys
More Behavioral & Leadership questions with a free account
4
Technical Fundamentals12 questions · ~112 min
Threads, Processes, and the GILHard

Compare process and thread isolation, then explain how CPython's GIL affects CPU-bound and I/O-bound multithreading.

cpu utilizationpython basicstechnical discussionRBC
More Technical Fundamentals questions with a free account
5
Machine Learning5 questions · ~47 min
More Machine Learning questions with a free account
6
More topics5 questions · ~47 min
Python Scripting for OperationsMedium
Recently asked

Explain how to build safe Python automation for Linux operations, including privilege control, subprocess handling, logging, and failure recovery.

permissionsOperating SystemsdnsAkamai
More questions with a free account
The finish line: interview-readyComplete all 50 questions plus 2 hands-on drills to finish this plan.