Variables, Expressions and statements Flashcards
What is a constant
A naming convention to assign values. The way we use the naming convention for a constant is by using lower case and upper case letter. you can also use underscores to separate letters.
example: x = my_value_i_assign
n = 2
What are variables
A symbolic name or identifier that can be used to store and manipulate data within a program. Variables are an essential concept in programming and are used to store values like numbers, text, and objects, which can be used, modified, and referenced
A name or identifier that we can use to store and manipulate data within a program. Variables are used to store values like numbers, text, and objects. They can be later changed or modified.