input: Write a function to create a Caesar cipher encryption for a given message using a specified shift value. The function should return the encrypted message. If the shifted character code exceeds the printable ASCII range (126), it should wrap around to fit within the range.
  assert caesar_encrypt("Hello, World!", 3) == "Khoor/#Zruog$"
  assert caesar_encrypt("This is a test", 1) == "Uijt!jt!b!uftu"
  assert caesar_encrypt("abcdef", 5) == "fghijk"
  assert caesar_encrypt("", 5) == ""
  assert caesar_encrypt("XYZ", 3) == "[\]^"
output: def caesar_encrypt(message, shift):
      encrypted_message = ""
      for char in message:
          if char.isprintable():
              new_char = chr((ord(char) - 32 + shift) % 95 + 32)
              encrypted_message += new_char
          else:
              encrypted_message += char
      return encrypted_message