The keywords are the reserved word. They are for special purposes. Keywords cannot be used for other purposes like variables name, function name, and other identifiers (A identifier is a name used to identify a variable, function, class, module, or other objects. An identifier starts with a letter A to Z or a to z or an underscore (_) followed by zero or more letters, underscores, and digits (0 to 9). below are the reserved words or keywords:
- A variable name must start with a letter or the underscore character
- A variable name cannot start with a number
- A variable name can only contain alpha-numeric characters and underscores (A-z, 0–9, and _ )
- Variable names are case-sensitive (age, Age, and AGE are three different variables)
A variable can have a short name (like x and y) or a more descriptive name (age, carname, total_volume).
Originally published at https://ilovecoode.blogspot.com on July 2, 2020.