मराठी

Which of the following identifier name are invalid and why? Total Marks - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

Which of the following identifier name are invalid and why?

Total Marks

पर्याय

  • Invalid

  • Valid

MCQ
टीपा लिहा

उत्तर

Invalid

Explanation:

Identifiers in Python cannot contain any special character except underscore(_). If more than one word is used as a variable then it can be separated using an underscore (_), instead of a space.

shaalaa.com
Identifiers
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 5: Getting Started with Python - Exercise [पृष्ठ ११५]

APPEARS IN

एनसीईआरटी Computer Science [English] Class 11
पाठ 5 Getting Started with Python
Exercise | Q 1. iv | पृष्ठ ११५
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×