Answers for "Capitalize first word of a phrase in python"

0

Capitalize first word of a phrase in python

def capitalize(phrase):
    return phrase.title()
    
print(capitalize('yay,this works')) #Yay, This works
Posted by: Guest on June-30-2021

Code answers related to "Capitalize first word of a phrase in python"

Python Answers by Framework

Browse Popular Code Answers by Language