input: Write a function that encrypts a message using a Caesar cipher. The function should take two parameters: the message to be encrypted and the shift value for the cipher. The function should return the encrypted message. Ensure that if shifting a character exceeds the ASCII value of 126, it wraps around to the beginning of the printable ASCII characters (ASCII values 32 to 126).
  
  def caesar_encrypt(message, shift):
      encrypted_message = ""
      for c in message:
          encrypted_c = ord(c) + shift
          if encrypted_c > 126:
              encrypted_c -= 95
          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", 1) == "{yz"
  assert caesar_encrypt("Hello", 5) == "Mjqqt"
  assert caesar_encrypt("&*()", 2) == "(+|,"
output: def caesar_encrypt(message, shift):
      encrypted_message = ""
      for c in message:
          encrypted_c = ord(c) + shift
          if encrypted_c > 126:
              encrypted_c -= 95
          encrypted_message += chr(encrypted_c)
      return encrypted_message