Which Python method is used to convert 'neilit' into 'Neilit'?
'neilit' को 'Neilit' में convert करने के लिए कौन-सा Python method use किया जाता है?
A
upper()
B
lower()
C
capitalize()
D
title()
Explanation
upper()→ Converts all letters to uppercase (NEILIT)lower()→ Converts all letters to lowercase (neilit)capitalize()→ Converts only the first letter to uppercase and the rest to lowercase (Neilit) ✅title()→ Converts the first letter of each word to uppercase (Neilitfor a single word, but intended for multiple words)
Correct Answer: C) capitalize()