input: Write a function to encrypt a message using a Caesar cipher with a given shift value. The function should return the encrypted message.
  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, World!", 3) == "Khoor/#Zruog$"
  assert caesar_encrypt("abc", 1) == "bcd"
  assert caesar_encrypt("xyz", 2) == "z{|"
  assert caesar_encrypt("$%^", 4) == "&'("
  assert caesar_encrypt("", 5) == ""
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