Computer Science, asked by Anonymous, 2 months ago

Is Python a correct variable name in python?
Please explain also.​

Answers

Answered by gautamkumargupta692
1

Answer:

Python allows you to name variables to your liking, as long as the names follow these rules: Variable names may contain letters, digits (0-9) or the underscore character _ . Variable names must begin with a letter from A-Z or the underscore _ character. Either lowercase or uppercase letters are acceptable.

Answered by birbahdurpp
0

Explanation:

officially , veriable names in python can be any length and can consist of upper case and lowercase letters (A-Z),(a-z),digits(a-a) and the underscore charater (-) an additional restriction is that a though a variable name can contain digits ,the first character of a variable name cannot be a digit

Similar questions