Home / CSE MCQs / Python MCQs :: Discussion

Discussion :: Python MCQs

  1. What is the output of the following?

    print('ab'.isalpha())
  2. A.
    True
    B.
    False
    C.
    None
    D.
    Error

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    The string has only letters.


Be The First To Comment