Saltar al contenido

Night 12: Tricks with a twist

English

Tonight: tricks with a twist

  • Last night your pet learned tricks. But a trick did the same thing every time.
  • Tonight you give a trick some information, so it can change.
  • You will learn one thing: parameters.

Words for tonight

Word Meaning
parameter a name in the brackets of def; it gets a value
argument the value you give in the call
pass give a value to a function

Material

Iniciar sesión o crear cuenta

IGCSE, A-Level & AP