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

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
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