Advertisements
Advertisements
Question
Which of the following is the correct identifier?
Options
globalBreakdefwith
MCQ
Advertisements
Solution
Break
Explanation:
All the other options, global, def, and with, are reserved keywords in Python and therefore cannot be used as identifiers. The word Break, starting with a capital letter, is not a keyword in Python and hence is a valid identifier.
shaalaa.com
Is there an error in this question or solution?
