input: Write a python function to implement the Caesar cipher encoding.
  assert caesar_cipher_encode('Hello, World!', 3) == 'Khoor, Zruog!'
  assert caesar_cipher_encode('abcXYZ', 2) == 'cdeZAB'
  assert caesar_cipher_encode('Python3.6', 5) == 'Udymts3.6'
output: def caesar_cipher_encode(text, shift):
      result = []
      for char in text:
          if char.isalpha():
              shift_base = 65 if char.isupper() else 97
              result.append(chr((ord(char) - shift_base + shift) % 26 + shift_base))
          else:
              result.append(char)
      return ''.join(result)