Programming: Getting started

Using variables

Variables are the identifier of the memory location, which are used to save data temporarily for later use in a program. Values are assigned by using a single equals
sign =.

message = "Hello, World!"

The single equals sign is the assignment operator in most programming languages. You can think of the single equals as meaning 'is set to'. The above line of code means the variable message is set to "Hello, World!".

Another way of saying this is that the value "Hello, World!" is assigned to message.

Further reading

Here you would be directed to a source of additional reading.