<human>:  Give me a Python function to save string to html file.
<bot>: Here is a Python function to save string to html file

import sys

def save_html(string, filename):
  """Saves a string to a html file.

  Args:
    string (str): String to save.
    filename (str): Name of the file to save to.
  """
  with open(filename, 'w') as f:
    f.write(string)

# Enter the string
string = 'hello world'

# Enter the filename
filename = 'test.html'

# Calling the function
print((save_html(string, filename)))

#Example Output
# None

#Remember to inspect code for bugs.