Bỏ qua nội dung

Night 10: Guess my number

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

Tonight: guess my number

  • Tonight you build your first game!
  • Your pet thinks of a number. The player guesses. Your pet says "too low" or "too high".
  • Nothing new to learn: you use input(), if, while and a counter together.

Words for tonight

Word Meaning
guess an answer when you are not sure
secret something only one person knows
hint a small help that shows the way

Tài liệu

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

IGCSE, A-Level & AP