code: def cart_create(self, items, **kwargs):
          
  
          if isinstance(items, dict):
              items = [items]
  
          if len(items) > 10:
              raise CartException("You can't add more than 10 items at once")
  
          offer_id_key_template = 'Item.{0}.OfferListingId'
          quantity_key_template = 'Item.{0}.Quantity'
  
          for i, item in enumerate(items):
              kwargs[offer_id_key_template.format(i)] = item['offer_id']
              kwargs[quantity_key_template.format(i)] = item['quantity']
  
          response = self.api.CartCreate(**kwargs)
          root = objectify.fromstring(response)
  
          return AmazonCart(root)
docs: CartCreate.
          :param items:
              A dictionary containing the items to be added to the cart.
              Or a list containing these dictionaries.
              It is not possible to create an empty cart!
              example: [{'offer_id': 'rt2ofih3f389nwiuhf8934z87o3f4h',
              'quantity': 1}]
  
          :return:
              An :class:`~.AmazonCart`.