· 3 min read

Learn Python Built-in Functions in French: 77 Flashcards from abs() to zip()

French edition of the Python built-ins deck: 77 cards from abs() to zip(), with gotchas on hash, int() bases, eval() and iter(), plus tips for French learners.

Glowing Python snake coiled around a toolbox with a French flag, surrounded by flashcards

Studying. But it's also a video game. 🎮

Flashcards, quizzes and games that make you actually remember.

Start playing — it's free

Posted by

French developers usually learn Python twice: once from French tutorials, once from the English docs. Flip It deck XP9626, Python : fonctions intégrées, closes that gap. It is the French edition of our built-ins deck: 77 cards whose fronts keep the real identifiers (zip(), divmod(), @staticmethod) while every answer is written in French, so the vocabulary you memorise (itérable, point de code, espace de noms) is the one French courses and job interviews actually use.

Study this deck: Python : fonctions intégrées

1 / 10
Question

Abs()

Knew itLearning

Tap the card for the answer · swipe right if you knew it, left if not

Cartes du deck

RectoVerso
All()Vrai si tous les éléments de l'itérable sont vrais (ou si l'itérable est vide)
Divmod()Une paire de nombres composée du quotient et du reste de la division entière (a // b, a % b)
2-argument form of iter()iter(callable, sentinel) - appelle callable jusqu'à ce qu'il renvoie sentinel, puis lève StopIteration
Valid range for chr()0 à 1 114 111 (0x10FFFF en base 16)
Three modes for compile()'exec' (instructions), 'eval' (expression unique), 'single' (instruction interactive unique)
Is bool a subclass of int?Oui, bool est une sous-classe de int. Ses seules instances sont True et False
Can hash values for equal numbers differ?Non - des valeurs numériques considérées comme égales ont la même valeur de hachage (par exemple 1 et 1.0)
What bases are allowed for int() conversion?0 et 2 à 36 (la base 0 interprète comme les littéraux du langage : préfixes 0b, 0o, 0x)
What happens when map() gets multiple iterables of different lengths?L'itérateur s'arrête dès que le plus court itérable est épuisé

What the 77 cards cover

Numbers and conversions: abs, bin, oct, hex, int, float, complex, round, pow (with modulo), divmod, chr, ord, ascii. Iteration: iter, next, enumerate (start par défaut : 0), zip, map, filter, filter(None, …), reversed, sorted, sum, min, max, any, all, len, range. Containers: list, tuple, dict, set, frozenset, bytes, bytearray. Introspection: type (1 or 3 arguments), isinstance, issubclass, callable, id, hash, dir, vars, globals, locals, getattr, setattr, hasattr, delattr. Classes: @classmethod, @property, @staticmethod, super. Dangerous dynamics: eval, exec, compile. Plus input, print, open, format, repr, help and breakpoint.

Two tips specific to this edition

Fix the capital letters in your head. Every front is sentence-cased (Abs(), Isinstance(), Getattr()), and Python is case-sensitive: Abs(-3) raises a NameError. When you review, say the name in lowercase before flipping, or edit the fronts once so muscle memory matches the interpreter.

Read Vrai as True, renvoie as return. The French backs translate prose, not values: « Vrai si au moins un élément… » still means the function returns the literal True. Map the recurring verbs once (renvoie = returns, lève = raises, itérable épuisé = exhausted iterable) and the 77 definitions become easy to cross-check against the English documentation.

Study order

Start with the twelve « gotcha » cards at the end of the deck (bool vs int, hash of 1 and 1.0, int() bases, eval() and user input): they are the ones interviewers ask. Then group the rest by family (conversion, iteration, introspection) instead of alphabetically, so getattr, setattr, hasattr and delattr land in the same session.

Prefer English answers? The original deck is covered in our Python built-in functions study guide; the French data-structures edition is here.

Find XP9626 – Python : fonctions intégrées in the library on Flip It.

Ready to learn faster? 🚀

Join FLIP IT for free and turn studying into a game.

Create my free account