Which of the following can be used as valid identifier(s) in Python?
(i) Total
(ii) >salute
(iii) Quest$ion
(iv) Great4
Answer:
- Total - It is a valid identifier .
- >salute - It is not a valid identifier since it contains a special character.
- Quest$ion - It is not a valid identifier since it contains a special character.
- Great4 - It is a valid identifier .
Learn in your speed, with individual attention - Teachoo Maths 1-on-1 Class