Q. What is the output of ‘text’.isalpha()?

A
True
B
False
D
Error
Solution:

isalpha() returns True if all characters are alphabetic, e.g., ‘text’.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!