Variable

برنامه‌نویسی 2 views

Persian equivalent متغیر

In plain language A variable gives a program a name it can use to access a value.

Short definition It is a named binding or storage location whose reassignment rules depend on the language and declaration.

Detailed explanation and example

In Python, after x = 5 followed by x = 10, the name x refers to 10. The assignment does not mutate the integer object 5.

Reference