Which of the following is the correct identifier? (A) global (B) Break (C) def (D) with
Advertisements
प्रश्न
Which of the following is the correct identifier?
विकल्प
globalBreakdefwith
MCQ
Advertisements
उत्तर
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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
