human
Give me a Python program to use capitalize to make every word in a string upper case.
assistant
Here is a Python program to use capitalize to make every word in a string upper case

import string

def capitalize(s):
    """
    Capitalize every word in a string
    Returns a string
    """
    return s.capitalize()

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

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

#Example Output
# This is a string

#Remember to inspect code for bugs.