python capitalize first letter of each word in a string

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