Variables in Python are typically named using snake case, which means that every word is lowercase and separated by underscores. For example, if you wanted a variable to store whether it was raining, you would call it:
There’s also special variables called constants, which means that the variable should not be changed and only has 1 value throughout the entire program runtime. Constants are usually in all caps. For example:
When naming variables, make sure you are descriptive but concise, and that you follow all of the other Python syntax-related rules. For a complete guide, see https://www.w3resource.com/python/python-variable.php.
Practice: Write a program that asks the user for their favorite food, favorite drink, and the name of their favorite person. Output a statement that uses all of this information. (Be creative!)