capitalize first word of a phrase in python

Solutions on MaxInterview for capitalize first word of a phrase in python by the best coders in the world

showing results for - "capitalize first word of a phrase in python"
Stefano
31 Nov 2016
1def capitalize(phrase):
2    return phrase.title()
3    
4print(capitalize('yay,this works')) #Yay, This works
5
similar questions