Design a Python function that converts strings in any given sentence to a capitalized format.
This is an example sentence
def convertToCapitalize(sentence)
    words = sentence.split()
    capitalize = [word.capitalize() for word in words]
    return " ".join(capitalize)