code: def decrypt(key, ciphertext):
      
      index = 0
      decrypted = ""
      for char in ciphertext:
          if char in string.punctuation + string.whitespace + string.digits:
              decrypted += char
              continue  # Not part of the decryption
  
          # Rotate character by the alphabet position of the letter in the key
          alphabet = string.ascii_uppercase if key[index].isupper() else string.ascii_lowercase
          decrypted += ''.join(shift.decrypt(int(alphabet.index(key[index])), char))
          index = (index + 1) % len(key)
  
      return decrypted
docs: Decrypt Vigenere encrypted ``ciphertext`` using ``key``.
  
      Example:
          >>> decrypt("KEY", "RIJVS")
          HELLO
  
      Args:
          key (iterable): The key to use
          ciphertext (str): The text to decrypt
  
      Returns:
          Decrypted ciphertext