input: Write a function to create a new list where each string from the input list is converted to camelCase. Return the resulting list.
  
  def convertToCamelCase(list):
      camelCaseList = []
  
      for string in list:
          string = string.capitalize()
          camelCaseList.append(string)
  
      return ''.join(camelCaseList)
  
  assert convertToCamelCase(["this", "is", "an", "example"]) == "ThisIsAnExample"
output: def convertToCamelCase(list):
      camelCaseList = []
      for i, string in enumerate(list):
          if i == 0:
              camelCaseList.append(string.lower())
          else:
              camelCaseList.append(string.capitalize())
      return ''.join(camelCaseList)