Create a function in Python which can take in a string and capitalize the first character of the string.
mystring = "hello world"
def capitalize_first_character(mystring):
    return mystring[0].upper() + mystring[1:]