input: Write a python function to encode a given text using AES encryption.
  assert encodeAES("Hello World") == "your_expected_encrypted_text_here"
  assert encodeAES("Python Programming") == "your_expected_encrypted_text_here"
  assert encodeAES("AES encryption") == "your_expected_encrypted_text_here"
output: from Crypto.Cipher import AES
  import base64
  import os
  
  def encodeAES(text):
      key = os.urandom(16)  # AES key must be either 16, 24, or 32 bytes long
      cipher = AES.new(key, AES.MODE_ECB)
      
      # Padding to ensure the text length is a multiple of 16
      pad = 16 - len(text) % 16
      text += chr(pad) * pad
      
      encrypted_text = cipher.encrypt(text.encode('utf-8'))
      encoded_text = base64.b64encode(encrypted_text).decode('utf-8')
      
      return encoded_text