Which string method will convert" coding in Python is fun" to Coding in Python Is Fun
Answers
Answered by
2
Answer:
- title()
Explanation:
The title() function of string returns the string in title case.
Consider a string -
>> a = "Coding in Python is fun".
>> print(a.title())
Coding In Python Is Fun.
In title case, first letter every word is in upper case.
Syntax: string.title() –» No parameter.
•••♪
Similar questions