Bỏ qua nội dung

Night 18: Your pet's ID card

← 30 đêm lập trình · Ngôn ngữ: Python Mã giả
English

Tonight: your pet's ID card

  • Your pet needs an ID card with its name, age and food.
  • You will learn one thing: dictionaries.

Words for tonight

Word Meaning
dictionary a set of keys, each with a value
key the name you look up, like "age"
value what is stored for a key, like 2

Tài liệu

Đăng nhập hoặc tạo tài khoản

IGCSE, A-Level & AP