Write a Python function to capitalizes the first letter of each word in a string


Topic: Write a Python function to capitalizes the first letter of each word in a string

Solution

def capitalize(text):
  return text.title()



List all Python Programs