Computer Science, asked by santhasivakumar1978, 2 months ago


Define variables and write the rules for naming variables in Python​

Answers

Answered by VaibhavTripathi6300
6

Answer:

Rules for Python variables:

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)

Explanation:

plz

follow

me and

mark me as

brainlist

Answered by radheshyam6441
10

Answer:

Rules for Python variables:

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)

Explanation:

A Python variable is a symbolic name that is a reference or pointer to an object. Once an object is assigned to a variable, you can refer to the object by that name.

Similar questions