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.
Je suis actuellement en train de suivre un cours d'introduction à l'informatique en ligne et je viens d'apprendre le concept de liste chaînée. Bien que je comprenne le concept ...
Imaginez qu'il existe trois fonctions, toutes acceptant et retournant le même type d'arguments.
" carte ".
Vous savez dans Mathematica, nous pouvons écrire ceci comme ...
Je voulais imprimer tout mon tableau [i] sur une seule ligne dans une nouvelle fonction, mais tout a été mal aligné dans le tableau de ma sortie.
Je ne trouve pas o&ugrav ...
Je suis un débutant en Javascript et je lis la partie Closures and Variables du livre "JS for web developer". Il donne deux exemples: [ [Function],
[Function],
[Function],
[Funct ...