CBSE Class 12 Computer Science Question 51 of 105

Python Revision Tour — Question 5

Back to all questions
5
Question

Question 5

Out of the following, find those identifiers, which cannot be used for naming Variables or Functions in a Python program:

  • Price*Qty
  • class
  • For
  • do
  • 4thCol
  • totally
  • Row31
  • _Amount
Answer
  • Price*Qty ⇒ Contains special character *
  • class ⇒ It is a keyword
  • 4thCol ⇒ Begins with a digit