← Back to videos

A Python interview that made the candidate doubt their knowledge

At first glance, the questions seem straightforward: the terminal, `print()`, `eval()`, `exec()`, logical operators, a short code snippet…
But it is precisely these topics that most often reveal whether a developer truly understands Python or has simply memorised the answers to common questions.
In this mock interview, we examine fundamental topics in detail, discuss how Python works, analyse the code and, finally, discuss the candidate’s strengths, their mistakes and a plan for further development.

This video will be useful for:
- Junior Python developers;
- those preparing for a technical interview;
- anyone who wants to gain a deeper understanding of Python, rather than simply memorising answers.

If you’d like to test yourself, try answering the questions before the candidate does.

Timecodes

00:00 Start
00:33 Introduction
03:21 What are a terminal, a console and a command line?
08:50 Standard streams in Python
10:30 Breaking down the print() function
17:51 What eval() does and how it differs from exec()
25:35 Practical exercise with code
45:15 The candidate’s impressions
47:40 Detailed feedback