1. Quel élément indique le nom d’une fonction et la liste de ses paramètres lors de sa définition ?
2. À quoi servent les paramètres dans la définition d’une fonction ?
3. Que fait l’instruction return dans une fonction ?
Fonction — définition ?
Sous-programme réutilisable structurant un programme
def — rôle ?
Définir une fonction avec nom et paramètres
Paramètres — rôle ?
Variables recevant des valeurs d’entrée
Corps de fonction — contenu ?
Code exécuté lors de l’appel
return — rôle ?
Renvoyer une valeur au programme appelant
Valeur de sortie — définition ?
Résultat renvoyé par une fonction
The revision sheet covers the essential concepts of Introduction à la Programmation en Python. It is organized by topic to facilitate learning and memorization, with key definitions, explanations and summaries.
Read the full sheet →The quiz contains 18 multiple-choice questions with detailed corrections and explanations for each answer. Ideal for testing your knowledge and identifying gaps.
Take the quiz (18 questions) →Revizly offers 18 interactive flashcards on Introduction à la Programmation en Python. Each card presents a question on the front and the answer on the back, enabling active and effective revision based on spaced repetition.
See all 18 flashcards →Import your PDF or paste your course, AI generates sheets, quizzes and flashcards in 30 seconds.