Python Variables and Assignment - Learn Python Programming

preview_player
Показать описание
A variable is a value that can change. It is represented by and identifier, or named item, and can hold a value for the item.

= is the assignment operator, which assigns a variable to a value. Ex: age = 5

The left side of the = must be a variable and the right side can be a value, expression or another variable.

In programing, the = operator stands for assignment, not equals. In python == is the equals operator.

Subscribe to Appficial for more programming videos coming soon. Also, don't forget to click LIKE and comment on the video if it helped you out!
Рекомендации по теме