跳到主要内容

Night 6: Your pet's favourite snacks

English

Tonight: a list of snacks

  • Your pet likes many snacks. One variable for each? Too many!
  • You will learn one thing: lists.

Words for tonight

Word Meaning
list many values in one variable, in order
item one value in a list
position where an item is; Python starts at 0

讲义

登录或创建账户

IGCSE, A-Level & AP