input: Write a function to encrypt a message using a Caesar cipher by shifting each character by a specified number of positions. If the shifted character exceeds the ASCII value of 126, it should wrap around by subtracting 94. Return the encrypted message. If the input message is empty, return an empty string.
  assert caesar_encrypt("Hello, World!", 3) == "Khoor/#Zruog$"
  assert caesar_encrypt("Python Programming", 5) == "Udymts%Uwtlwfrrnsl"
  assert caesar_encrypt("Caesar Cipher", 10) == "Mkockb+Mszvoj"
  assert caesar_encrypt("", 7) == ""
output: def caesar_encrypt(message, shift):
      if not message:
          return ""
      encrypted_message = []
      for char in message:
          if 32 <= ord(char) <= 126:
              new_char = chr((ord(char) - 32 + shift) % 95 + 32)
              encrypted_message.append(new_char)
          else:
              encrypted_message.append(char)
      return ''.join(encrypted_message)