input: Write a function to encrypt a message using a Caesar cipher. The function should take two arguments: the message to be encrypted and the shift value for the cipher. The encrypted message should be returned.
  def caesar_encrypt(message, shift):
      encrypted_message = ""
      for c in message:
          encrypted_c = ord(c) + shift
          if encrypted_c > 126:
              encrypted_c -= 94
          encrypted_message += chr(encrypted_c)
      return encrypted_message
  
  assert caesar_encrypt("hello", 3) == "khoor"
  assert caesar_encrypt("abc", 1) == "bcd"
  assert caesar_encrypt("xyz", 3) == "|~_"
  assert caesar_encrypt("", 5) == ""
  assert caesar_encrypt("12345", 2) == "34567"
output: def caesar_encrypt(message, shift):
      encrypted_message = ""
      for c in message:
          encrypted_c = ord(c) + shift
          if encrypted_c > 126:
              encrypted_c -= 94
          encrypted_message += chr(encrypted_c)
      return encrypted_message