Skip to content · ⁨דלג לתוכן⁩

Variables and expressions · ⁨משתנים וביטויים⁩

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.
עברית

变量保存值

  • משתנה מאחסן ערך כדי שתוכל להשתמש בו מאוחר יותר.
  • בפיתון כותבים score = 10. ה-= פירושו "אחסן בצד שמאל".
  • ניתן לשנות משתנה על ידי אחסון ערך חדש לתוכו.

Handout · ⁨חומר עזר⁩

Log in or create account · ⁨היכנס או צור חשבון⁩

IGCSE, A-Level & AP