跳到主要内容

Night 11: Teach your pet a trick

← 30 个编程之夜 · 语言: Python 伪代码
English

Tonight: teach your pet a trick

  • Your pet can learn tricks! You teach a trick once, then use it again and again.
  • You will learn one thing: procedures.

Words for tonight

Word Meaning
procedure a named block of code; a trick with a name
define say what something is; teach the trick
call use the procedure; ask for the trick

讲义

登录或创建账户

IGCSE, A-Level & AP