KnowledgeBoat Logo
|

Computer Science

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

Python Funda

60 Likes

Answer

  • Price*Qty ⇒ Contains special character *
  • class ⇒ It is a keyword
  • 4thCol ⇒ Begins with a digit

Answered By

36 Likes


Related Questions