A function (also called a procedure, method, subroutine, or routine) is a portion of code intended to carry out a single, specific task. Use this tag for questions which specifically involve creating or calling functions. For help implementing a function to perform a task, use [algorithm] or a task-specific tag instead.
J'essaie de créer un script python appelé script.py avec la fonction new_directory qui crée un nouveau répertoire dans le répertoire de travail actuel, puis cr&e ...
J'ai fait une fonction qui vérifie si un numéro d'entrée est égal à math.random (). Je veux faire une autre fonction pour vérifier combien de fois le bout ...