human
how to use capitalize to make every word in a string upper case.
assistant
Here is a Python function to use capitalize to make every word in a string upper case

# Enter the string
string = "This is a string"

# Calling the function
print((capitalize(string)))

#Example Output
# This is a string

#Remember to inspect code for bugs.