English

Consider the following string mySubject: mySubject = "Computer Science" What will be the output of the following string operation: print(mySubject.isalpha()) - Computer Science (Python)

Advertisements
Advertisements

Question

Consider the following string mySubject:

mySubject = "Computer Science"

What will be the output of the following string operation:

print(mySubject.isalpha())

One Word/Term Answer

Solution

False

shaalaa.com
Built-in String Functions
  Is there an error in this question or solution?
Chapter 8: Strings - Exercise [Page 187]

APPEARS IN

NCERT Computer Science [English] Class 11
Chapter 8 Strings
Exercise | Q 1. x. | Page 187
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×