What is the output of the following code ?
>>> s = "they're bill's friends from the UK" >>> s.capitalize()
"They're Bill's Friends From the Uk"
"They're bill's friends from the UK"
"They're bill's friends from the Uk"
"They're bill's friends from the uk"
str.capitalize() Return a copy of the string with its first character capitalized and the rest lowercased
Refer to - https://www.pythoneasy.com/python-programming-tutorial/python-string-methods
Comment here: