input: Write a function to encrypt a message using a Caesar cipher. The function should take two parameters: the message to be encrypted and the number of positions to shift each character. Characters that go beyond the ASCII value of 126 should wrap around to the beginning of the printable ASCII range (32-126).
  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("Python", 5)=="Udymts"
  assert caesar_encrypt("Testing", 7)=="[l]z{pun"
  assert caesar_encrypt("Encrypt!", 10)=="Oxuhsz)~"
  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