Skip to content · ⁨Pular para o conteúdo⁩

Finish the function · ⁨Finalizar a função⁩

English

Finish the function

The def line is written. Add the one line inside it that gives back a + b.

a and b stand for whatever the caller passes in. Inside the function you use them as ordinary variables — the body is just normal code, indented under the def.

Português

Finalizar a função

A linha def já está escrita. Adicione a única linha dentro dela que devolve a + b.

a e b representam o que o chamador passa. Dentro da função, você os usa como variáveis comuns — o corpo é apenas código normal, indentado sob a def.

Log in or create account · ⁨Entrar ou criar conta⁩

IGCSE, A-Level & AP