input: 
  def caesar_encrypt(message: str, shift: int) -> str:
      """Encrypt a message using a Caesar cipher with the given shift.
      Each character in the message is shifted by the specified number of positions in ASCII character set.
      If the shifted character exceeds the ASCII value of '~' (126), it wraps around to the beginning of the printable ASCII range.
      
      >>> caesar_encrypt("Hello, World!", 5)
      'Mjqqt,%]twqi"'
      >>> caesar_encrypt("Encryption is fun!", 7)
      'Luvt{punj|%pz+m{|'
      """
      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
  
output:     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