हिंदी

Which of the following is the correct identifier? - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

Which of the following is the correct identifier?

विकल्प

  • global

  • Break

  • def

  • with

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
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2024-2025 (March) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×