跳到主要内容

Night 10: Guess my number

← 30 个编程之夜 · 语言: Python 伪代码
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

讲义

登录或创建账户

IGCSE, A-Level & AP