Computer Science, asked by mohandasthawrani50, 4 days ago

0.11. Write down the rules to declare a variable in python​

Answers

Answered by Anaskhan322
0

Answer:

Rules for creating variables in Python:

.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 _ ).

Answered by nakulhooda
0

Explanation:

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 (name, Name and NAME are three different variables).

The reserved words(keywords) cannot be used naming the variable

Similar questions