Finish the function · Finalizar a função
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.
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.
The · A def line is written. Add the one line inside it that gives back a + b. · A linha def já está escrita. Adicione a única linha dentro dela que devolve a + b.
Click Run to see the output here. · Clique em Executar para ver a saída aqui.