Q. What is the output of ‘PYTHON’.title()?

A
python
B
PYTHON
C
Python
D
PytHon
Solution:

title() capitalizes each word, resulting in ‘Python’.

Entri Contact Image

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