identify the invalid variable names state the reason is invalid i)marks unit ii)product _1 iii)sales 123 and iv)z marks
Answers
Answered by
2
Answer:
Explanation:
Invalid variable names are : (i) Marks Unit Reason : Variable Name should not contain space (iv) 2 Marks Reason : Variable Name should not start with digit
Answered by
1
Question:-
- Identify the valid and invalid variable names.
Solution:-
- marks unit is an invalid variable name as it contains spaces.
- product_1 is a valid variable name.
- sales 123 is an invalid variable name as it contains spaces.
- z marks is an invalid variable name as it contains spaces.
Similar questions
India Languages,
3 months ago
Math,
3 months ago
Social Sciences,
6 months ago
English,
11 months ago
Math,
11 months ago
Math,
11 months ago