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

Variables hold values

  • A variable stores a value so you can use it later.
  • In Python you write score = 10. The = means "store on the left".
  • You can change a variable by storing a new value into it.
日本語

変数は値を保持します

  • 変数は後で使用できるよう値を格納します。
  • Pythonではscore = 10と記述します。=は「左側に格納する」という意味です。
  • 変数に新しい値を代入することで、その値を変更できます。

Handout · ⁨プリント⁩

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

IGCSE, A-Level & AP