Skip to content · ⁨コンテンツへスキップ⁩

Randomness and simulation · ⁨ランダム性とシミュレーション⁩

What we'll do

  • Some programs need chance, like games or experiments.
  • Python can make random numbers for us.
  • We will also build a tiny simulation (a model of something real).

Ten simulated dice rolls with the sixes highlighted; counting them estimates the chance

Handout · ⁨プリント⁩

Log in or create account · ⁨ログインまたはアカウント作成⁩

IGCSE, A-Level & AP