input: from typing import Tuple
  
  
  def encrypt_decrypt(operation: str, text: str) -> Tuple[str, str]:
      """ Encrypts or decrypts a given string using the AES cipher in ECB mode.
      The function takes an operation ('encrypt' or 'decrypt') and a string,
      and returns a tuple containing the operation performed and the result.
      >>> encrypt_decrypt('encrypt', 'Hello, World!')
      ('encrypt', b'\x12\xc6')
      >>> encrypt_decrypt('decrypt', b'\x12\xc6')
      ('decrypt', 'Hello, World!')
      """
      key = b'Sixteen byte key'
      cipher = AES.new(key, AES.MODE_ECB)
      if operation == 'encrypt':
          return (operation, cipher.encrypt(text))
      elif operation == 'decrypt':
          return (operation, cipher.decrypt(text))
      else:
          return (operation, 'Invalid operation')
output:     from Crypto.Cipher import AES
      from Crypto.Util.Padding import pad, unpad
  
      if operation == 'encrypt':
          padded_text = pad(text.encode(), AES.block_size)
          return (operation, cipher.encrypt(padded_text))
      elif operation == 'decrypt':
          decrypted_text = cipher.decrypt(text)
          unpadded_text = unpad(decrypted_text, AES.block_size)
          return (operation, unpadded_text.decode())
      else:
          return (operation, 'Invalid operation')