input: Write a function to encrypt a message using a Caesar cipher with a specified shift value. If the shifted character code exceeds 126, it should wrap around starting from 32. If the input message is empty, return an empty string.
  
  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", 3) == "khoor"
  assert caesar_encrypt("world", 5) == "||}~y"
  assert caesar_encrypt("python", 7) == "}vac{u"
  assert caesar_encrypt("", 10) == ""
  assert caesar_encrypt("fun&games!", 1) == "gvo(hbntf!"
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