Computer Science, asked by summer66, 3 months ago

Classify each of the following as either a legal or illegal python identifier. State the reason if illegal. i) Que$tion ii) _Data iii) Input iv) Basic salary​

Answers

Answered by raisanjeet8896
1

Explanation:

1) Que$tion is illegal in python because of a special symbol..we can not use special symbol while making idetifier

2)_Data = it can be used as a idetifier because it satisfies all conditions of being identifier.

3)input= it is illegal to use keywords as a idetifier

4)Basic Salary = it is illegal because there is space between Basic and Salary

Similar questions