Skip to content

Night 12: Tricks with a twist

← 30 Code Nights · Language: Python Pseudocode

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 PROCEDURE; it gets a value
argument the value you give in the call
pass give a value to a procedure

Handout

Log in or create account

IGCSE, A-Level & AP