Question:medium

Which of the following is the correct identifier?

Show Hint

Python is case-sensitive,
so `break` is a keyword but `Break` can be used as an identifier.
Always avoid using names similar to keywords for clarity.
Updated On: Jan 14, 2026
  • global
  • Break
  • def
  • with
Show Solution

The Correct Option is B

Solution and Explanation

In Python, identifiers are names for variables, functions, classes, modules, or objects. Identifiers cannot be reserved or built-in keywords. Options (A) global, (C) def, and (D) with are Python keywords and thus invalid as identifiers. Option (B) Break begins with an uppercase 'B', differentiating it from the lowercase keyword break. As Python is case-sensitive, Break is not a keyword and is therefore a valid identifier. Consequently, option (B) is the correct choice.
Was this answer helpful?
0