APPLICATION OF SUPERVISED LEARNING
ARTIFICIAL INTELLIGENCE
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which of the following is NOT true about variable names?
|
variable name must start with a letter or the underscore character
|
|
Variable name cannot include spaces between words
|
|
A variable name can start with a symbol
|
|
A variable name can include special symbols
|
Explanation:
Detailed explanation-1: -Variable names cannot start with a number: This statement is true as the variable’s name should either start with a letter or ‘ ‘.
Detailed explanation-2: -Which of the following is true for variable names in Python? Explanation: Variable names can be of any length.
Detailed explanation-3: -A variable name must start with a letter or an underscore character ( ) A variable name cannot start with a digit. A variable name can only contain alpha-numeric characters and underscores ( a-z, A-Z, 0-9, and ) Variable names are case-sensitive (age, Age and AGE are three different variables)
There is 1 question to complete.