Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Function and function call?

Também chamado de: function · function call

Definition 19.1 Primary & Middle School Computer Science · Capítulo 19 — Functions

A function is a block of instructions with a name, written once and run whenever it is needed. It is defined with def, the name, brackets and a colon, followed by an indented block, its body. A function call is the name followed by brackets: it runs the body.

Ler no capítulo →