<human>:  Can you show me a Python code to capitalize the first word in a string.
<bot>: Here is a Python code to capitalize the first word in a string

import string

def capitalize_first_word(string):
  """Capitalize first word in string"""
  return string.capitalize()

# Enter the string
string = "Hello"

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

#Example Output
# Hello

#Remember to inspect code for bugs.