English

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

Advertisements
Advertisements

Question

Which of the following identifier name are invalid and why?

Serial_no

Options

  • Valid

  • Invalid

MCQ
Short Note

Solution

Invalid

Explanation:

Identifiers in python cannot contain any special character except underscore(_).

shaalaa.com
Identifiers
  Is there an error in this question or solution?
Chapter 5: Getting Started with Python - Exercise [Page 115]

APPEARS IN

NCERT Computer Science [English] Class 11
Chapter 5 Getting Started with Python
Exercise | Q 1. i | Page 115
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×