input: Write a function to encrypt a given message using a Caesar cipher by shifting each character by a specified number of positions up in the ASCII table. If the shifted character exceeds the printable ASCII range (32-126), it wraps around to the beginning of this range. 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", 3)=='{|}'
  assert caesar_encrypt("@abc", 2)=='Bcde'
  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