input:                         
  def caesar_encrypt(message: str, shift: int) -> str:
      """ Encrypt a given message using a Caesar cipher with the specified shift.
      The ASCII values for characters are within the range 32 to 126. If shifting 
      a character goes beyond the printable ASCII range, it wraps around.
      >>> caesar_encrypt("Hello", 3)
      'Khoor'
      >>> caesar_encrypt("~", 1)
      '!'
      >>> caesar_encrypt("", 10)
      ''
      """
output:     encrypted_message = []
      for char in message:
          new_char = chr((ord(char) - 32 + shift) % 95 + 32)
          encrypted_message.append(new_char)
      return ''.join(encrypted_message)