-
Python question of the day What would be the output of executing the following code: str1 = "python was born in the usa" print (str1.capitalize())PYTHON WAS BORN IN THE USA
Python Was Born In The Usa
Python was born in the Usa
Python was born in the usa
Explanation:In python, capitalize() function capitalizes the first character of the string. title() capitalizes every word in the string and upper() capitalizes all characters in the string
