Computer Science, asked by FreePoints1345, 5 months ago

what are Variables ? What are Rules for Naming Variables??​

Answers

Answered by anusharma3047
1

Answer:

Variables means not constant. Ex. It is 30 degrees Celsius and after 4,5 minutes it is 29 so it is not constant.

Explanation:

Mark as brainliest

Answered by Anonymous
15

Answer:

\large\mathsf{\underline\green{Answer:-}}

What are Variables?

\large\mathsf{\underline\red{Solution:-}} Variables are the named memory location created in the main memory of computer , used to store data. During the program execution , this location are created and identified by the name given by the user. Using variables, Values are stored and manipulated to produce the desired results.

What are the Rules for Naming Variables?

\large\mathsf{\underline\red{Solution:-}} To form valid variable name is python, you should always follow certain rules for naming variable. These rules are as follow:

☞ Variable name should be meaningful so that they are easy to remember too.

☞ Variable name can be of any size.

☞ Variable name can have characters a-z, A-Z, 0-9 and Underscore(_).

☞ Variable name should begin with the letter or underscore.

☞ Variable name are case sensitive. e.g. 'total' and 'TOTAL' are not same.

☞ always remember that variable name should be a keyword such as else, print, if, etc.

Similar questions