跳到主要内容

Night 9: Roll the dice

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

Tonight: roll the dice

  • Games need surprises. Tonight your pet rolls a dice.
  • You will learn one thing: random numbers.

Words for tonight

Word Meaning
random you cannot know it before; it can be different each time
import bring in extra tools for your program
choice one thing picked from many

讲义

登录或创建账户

IGCSE, A-Level & AP