Pular para o conteúdo

Night 13: Your pet answers

← 30 noites de programação · Linguagem: Python Pseudocódigo
English

Tonight: your pet answers

  • Until now, your pet's tricks did something: they output text.
  • Tonight your pet answers. A function gives a value back.
  • You will learn one thing: FUNCTION with RETURN.

Words for tonight

Word Meaning
function a named block of code that gives a value back
return give a value back to the place where it is used
result the value a function gives back

Material de apoio

Entrar ou criar conta

IGCSE, A-Level & AP