0 out of 68 challenges solved

Fix the error in Python code #11

Can you spot the error in the code below? An error may occur when the computer does not understand what you are trying to do. The title of this is intentionally vague to avoid giving you any hints.

# Fix the error in the code below
def compose_welcome_email(name):
  """
  Generates a welcome message for a new subscriber based in their name.

  Args:
    name (str): Name of the subscriber

  Returns:
    str: Message to send to the subscriber
  """
  message = "Dear {name}, thank you for signing up for our newsletter!"
  return message