input: Write a function to convert a list of strings into camelCase and return the new 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"
  assert convertToCamelCase(["hello", "world"])=="HelloWorld"
  assert convertToCamelCase(["one", "two", "three"])=="OneTwoThree"
  assert convertToCamelCase([])==""
  assert convertToCamelCase(["single"])=="Single"
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)